Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
The NETDRAW Procedure

Example 5.2: Graphics Version of PROC NETDRAW

The same network used in Example 5.1 is drawn here with the GRAPHICS option (which is also the default mode of output for the NETDRAW procedure.) In this example, the network is drawn before scheduling the project with PROC CPM. The global options HPOS= and VPOS= are set to 100 and 70, respectively. These options control the number of character cell positions on the screen. The network is displayed in Output 5.2.1. Note that all the nodes are the same color as specified by the PATTERN statement, the color of the arcs is blue as specified by the CARCS= option, the width of all lines is 3 as specified by the LWIDTH= option, and the font used for the text is SWISS as specified by the FONT= option.

   goptions hpos=100 vpos=70 border;
   pattern1 c=green v=e;
   title h=3 j=l f=swiss ' Project: Widget Manufacture';
   proc netdraw data=widget graphics;
      actnet / act=task
               succ=(succ1 succ2 succ3)
               carcs=blue
               font=swiss;
      run;

Output 5.2.1: Project Network
ndr2g1.gif (2617 bytes)

Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
Top
Top

Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.