The IlvLinkLayout class supports the following
generic parameters as defined in the class
IlvGraphLayout
(see Base class parameters and features):
The following comments describe the
particular way in which these parameters are used by this subclass.
Allowed time (LL)
The layout algorithm stops if the allowed time setting has
elapsed. (For a description of this layout parameter in the IlvGraphLayout class. see Allowed time.) If the layout stops early
because the allowed time has elapsed, some links might not be
routed in the best possible way. The result code in the layout
report is IlvGraphLayoutReport.STOPPED_AND_INVALID.
Animation (LL)
The layout algorithm can show the temporary positions of the
links during the routing in an animated way. (For a description
of this layout parameter in the
IlvGraphLayout
class, see Animation.)
Note
If this option is enabled, the layout of
large graphs can be very time consuming.
Automatic layout (LL)
The Link Layout routes the links so that
they bypass the nodes and cross each other as few times as
possible. It does not position any nodes. However, if the user
moves, adds, or resizes nodes, or adds or removes links, the Link
Layout drawing usually becomes invalid; that is, the links no
longer look orthogonal, overlap the moved nodes, or cross other
links.
Using the automatic layout feature of the
IlvGraphLayout
class, the layout is reperformed whenever a change of the graph
occurs. (For a description of this layout parameter in the
IlvGraphLayout
class, see Automatic layout.)
Preserve fixed links (LL)
The layout algorithm does not reshape the links that are
specified as fixed, see Preserve fixed links. The fixed links are
taken into account when computing the optimal layout of the
nonfixed links.
Spline routing (LL)
The layout algorithm supports the generic spline routing
mechanism (see Spline routing). If the style of a link is
direct or orthogonal and the link is a spline, it is routed by
the generic spline routing mechanism when it is enabled.
Save parameters to named properties (LL)
The layout algorithm can save its layout parameters into named
properties. This can be used to save layout parameters to
.ivl
files. (For a detailed description of this feature, see Save parameters to named properties and Saving layout parameters and preferred
layouts.)
Stop immediately (LL)
The layout algorithm stops if the method IlvLinkLayout is called.
For a description of this method, see Stop immediately. If the layout stops
early, some links might not be routed in the best possible way.
The result code in the layout report is
IlvGraphLayoutReport.STOPPED_AND_INVALID
.