The following layout parameters work for all clustering
modes.
Link style (CL)
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 specifying automatic removal of all intermediate
points of the links (CL algorithm)
To specify that the layout algorithm automatically removes
all the intermediate points of the links (if any):
Use the method:
layout.setLinkStyle(ibm_ilog.graphlayout.circular.CircularLayout.STRAIGHT_LINE_STYLE)
The valid values for
style
are:
ibm_ilog.graphlayout.circular.CircularLayout.NO_RESHAPE_STYLE
None of the links is reshaped in any manner.ibm_ilog.graphlayout.circular.CircularLayout.STRAIGHT_LINE_STYLE
All the intermediate points of the links (if any) are removed. It is the default value.
Connect links to node center (CL)
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 (CL)
These features are shared by all subclasses of the Basic
Link Style Layout. SeeMultilink and self-link features for
details.