Link style (RL)
When the layout algorithm moves the nodes, straight-line links automatically “follow”
the new positions of their end nodes. If the graph contains other
types of links, 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):
Use the setLinkStyle method
as follows:
randomLayout.setLinkStyle(ibm_ilog.graphlayout.random.RandomLayout.STRAIGHT_LINE_STYLE);
The valid values for
style
are:
ibm_ilog.graphlayout.random.RandomLayout.NO_RESHAPE_STYLE
None of the links is reshaped in any manner.ibm_ilog.graphlayout.random.RandomLayout.STRAIGHT_LINE_STYLE
All the intermediate points of the links (if any) are removed. It is the default value.
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.