skip to main content
Diagrammer > Programmer's documentation > Using graph layout algorithms > Layout algorithms > Layout characteristics
 
Layout characteristics
It is often useful to know how certain settings affect the resulting layout of the graph after the layout algorithm has been applied. The following table provides additional information about the behavior of the layout algorithms.
Layout characteristics of layout algorithms  
Layout algorithm
Do the initial positions of the nodes affect the layout?
How do I get a different layout of the same graph when I perform the layout a second time?
No
You can completely change the layout by using the starting node, outer cycle, and fixed nodes parameters. To change only the dimensions of the graph, use the layout region parameter. See Outer cycle (TML), Using fixed nodes (TML), and Layout region (TML).
Yes
In incremental mode, you can completely change the layout by changing the initial positions of the nodes. To change only the dimensions of the graph, use the preferred length of the links or size of the layout region. See Preferred length (ULEL).
Yes (if incremental mode is enabled)
In incremental mode, you can change the layout by changing the initial positions of the nodes. Furthermore, you can change the layout by selecting a different Root node (TL). To change only the dimensions of the graph, use the various offset parameters.
Yes (if incremental mode is enabled)
In incremental mode, you can change the layout by changing the initial positions of the nodes. Furthermore, you can use specified node level indices to change the level structure. See Level index parameter (HL).
You can use specified node position indices to change the node order within the levels. See Position index parameter (HL).
You can change the layout by changing the link priorities. See Link priority parameter (HL).
To change only the dimensions of the graph, use the various offset parameters.
Yes
Link Layout routes the links depending on the node positions. It does not move the nodes. You can change the link style option and the dimensional parameters, such as the link offset and final segment length. You can also specify the rules for computing the connection points of the links.
No
It is the default behavior when using the default parameter settings (the random generator is initialized differently each time).
No, except in incremental mode
You change the dimensions of the graph by using the various dimensional parameters.
No
You can completely change the layout by using clustering settings and the root clusters parameter. You can change the dimensions of the graph by using the dimensional parameters.
Yes (if incremental mode is enabled)
You can change various dimensional parameters, layout mode, and so on.
Depends on the behavior of the sublayouts applied to the subgraphs.
Depends on the behavior of the sublayouts applied to the subgraphs. You can change the parameters of the sublayouts individually.
Depends on the behavior of the sublayout that is applied first.
Depends on the behavior of the sublayouts of the Multiple Layout instance. You can change the parameters of the sublayouts individually.

Copyright © 2018, Rogue Wave Software, Inc. All Rights Reserved.