Layout Algorithms > Layout Characteristics
 
Layout Characteristics
It is often useful to know how certain settings will affect the resulting layout of the graph after the layout algorithm has been applied. Table 4.3 provides additional information about the behavior of the layout algorithms.
Table 4.3   Layout Characteristics of Layout Algorithms  
Layout Algorithm
Do the initial positions of the nodes affect the layout?1
How do I get a different layout of the same graph when I perform the layout a second time?
Yes
You can completely change the layout by moving nodes or selecting a different root node. To change the dimensions of the graph, use the various offset parameters, or, in some layout modes, the aspect ratio parameter.
No
You can use specified node level indices to change the level structure. You can use specified node position indices to change the node order within the levels. You can change the layout by changing the link priorities. To change only the dimensions of the graph, use the various offset parameters.
No
You can completely change the layout by changing the link connection policy. You can change the dimensions of the graph by using the link offset and final segment length parameters.
No
This is the default behavior when using the default parameter settings (the random generator is initialized differently each time).
No
You change the dimensions of the graph by using the various dimensional parameters.

1 All of the layout classes provided in Rogue Wave Views (except the Orthogonal Link Layout) support the fixed nodes mechanism. This means that you can specify nodes that cannot be moved during the layout.


Version 5.6
Copyright © 2012, Rogue Wave Software, Inc. All Rights Reserved.