Chapter Contents |
Previous |
Next |
The NETDRAW Procedure |
The Network input data set contains the precedence information, namely, the activity-successor information for all the nodes in the network. The minimum amount of information that is required by PROC NETDRAW is the activity-successor information for the network. Additional information in the input data set can be used by the procedure to add detail to the nodes in the diagram, or control the layout of the network diagram.
There are three types of data sets that are typically used as the Network data set input to PROC NETDRAW. Which type of data set you use depends on the stage of the project:
The minimum information required by PROC NETDRAW from the Network data set is the variable identifying each node in the network and the variable (or variables) identifying the immediate successors of each node. In addition, the procedure can use other optional variables in the data set to enhance the network diagram. The procedure uses the variables specified in the ID= option to label each node. The procedure also looks for default variable names in the Network data set that are also added to the list of ID variables; the default variable names are E_START, E_FINISH, L_START, L_FINISH, S_START, S_FINISH, A_START, A_FINISH, T_FLOAT, and F_FLOAT. The format used for determining the location of these variables within each node is described in the "Format of the Display" section. See the "Variables in the Network Data Set" section for a table of all the variables in the Network data set and their interpretations by PROC NETDRAW.
If the Network data set contains the variables _X_ and _Y_ identifying the X and Y coordinates of each node and each turning point of each arc in the network, then this information is used by the procedure to draw the network. Otherwise, the precedence relationships among the activities are used to determine the layout of the network. It is possible to specify only the node positions and let the procedure determine the routing of all the arcs. However, partial information cannot be augmented by the procedure.
Note: If arc information is provided, the procedure assumes that it is complete and correct and uses it exactly as specified.
Chapter Contents |
Previous |
Next |
Top |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.