Link style (RL)
When the layout algorithm moves the nodes, straight-line links (such as instances of
IlvLinkImage) automatically “follow” the
new positions of their end nodes. If the grapher contains other
types of links (for example, IlvPolylineLinkImage or IlvSplineLinkImage), the shape of the
link might not be appropriate because the intermediate points
of the link is not moved. In this case, you can ask the layout
algorithm to automatically remove all the intermediate points
of the links (if any).
Example of removing intermediate link
points (RL algorithm)
To specify that the layout algorithm
automatically removes all the intermediate points of the links
(if any):
In CSS
Add to the
GraphLayout
section:
linkStyle : "STRAIGHT_LINE_STYLE ";
In Java™
Use the method:
void setLinkStyle(int style)
The valid values for
style
are:
IlvRandomLayout.NO_RESHAPE_STYLE
None of the links is reshaped in any manner.IlvRandomLayout.STRAIGHT_LINE_STYLE
All the intermediate points of the links (if any) are removed. It is the default value.
Note
The layout algorithm may raise an IlvInappropriateLinkException if layout
is performed on an IlvGrapher, but inappropriate link
classes or link connector classes are used. See Layout exceptions for details and
solutions to this problem.
Connect links to node center (RL)
This feature is shared by all subclasses of the Basic Link Style
Layout. See Connect links to node center for details.
Multilink and self-link features (RL)
This feature is shared by all subclasses of the Basic Link Style
Layout. See Multilink and self-link features for
details.