Regardless
of the layout pattern you are using for a graph, you can fine tune
the layout by adjusting its layout tuning algorithm. A layout tuning
algorithm adjusts the current node layout in a prescribed manner in
an attempt to create a more visually useful layout. When you first
create a network graph, you might not know which layout algorithm
is best for your graph, so it’s often helpful to explore the
available algorithms.
From
the
Layout Algorithm list box, select one
of the following algorithms:
-
Swap chooses
two nodes at random and determines whether it would be beneficial
to swap or exchange the location of those two nodes. You specify the
number of iterations that the algorithm should run by selecting the
number from the
Number of Iterations list
box.
-
Force is
more complex than Swap, and applies a multi-level force algorithm
to attempt to improve the layout. The algorithm is computationally
intensive, so you should be conservative when entering the number
of iterations for this option.
Click
Run to apply the algorithm to your graph. You can run
the algorithm multiple times to see different layouts. The Force algorithm
typically changes the layout each time you click
Run.
The Swap
algorithm might or might not change the layout when you click
Run, depending on the following factors:
-
the number of iterations you specified
-
the number of nodes and links
in your graph
-
the fundamental structure of the
graph
Note: After you click
Run, any changes made to the layout cannot be undone
by clicking the
Cancel button. However, the
Cancel button cancels all other changes made in the
properties dialog box.