The links can be straight or have a specific shape with
intermediate points. You can specify that the links be reshaped into
an “orthogonal” form. You can set the link style globally,
in which case all links have the same shape, or locally on each link,
in which case different link shapes occur in the same drawing.
Global link style
To specify the global link style:
Use the method setGlobalLinkStyle:
treeLayout.setGlobalLinkStyle(ibm_ilog.graphlayout.tree.TreeLayout.ORTHOGONAL_STYLE);
The valid values for setGlobalLinkStyle are:
ibm_ilog.graphlayout.tree.TreeLayout.NO_RESHAPE_STYLE
None of the links is reshaped in any manner.ibm_ilog.graphlayout.tree.TreeLayout.STRAIGHT_LINE_STYLE
All the intermediate points of the links (if any) are removed. It is the default value. See Tree layout in free layout mode with center alignment and flow direction to the right and Tree layout in radial layout mode with aspect ratio 1.5 as examples.ibm_ilog.graphlayout.tree.TreeLayout.ORTHOGONAL_STYLE
The links are reshaped in an orthogonal form (alternating horizontal and vertical segments). See Tree layout with flow direction to the bottom, orthogonal link style, and tip-over alignment at some leaf nodes and Tip-over alignments as examples.ibm_ilog.graphlayout.tree.TreeLayout.MIXED_STYLE
Each link can have a different link style. The style of each individual link can be set to have different link shapes occurring on the same graph.
Individual link style
All links have the same style of shape unless the global
link style is
MIXED_STYLE
. Only when the
global link style is set to MIXED_STYLE
can each link have an individual link style. 
Different link styles mixed in the same drawing
To specify the style of an individual link:
treeLayout.setGlobalLinkStyle(ibm_ilog.graphlayout.tree.TreeLayout.MIXED_STYLE); treeLayout.setLinkStyle(graph.children[2], ibm_ilog.graphlayout.tree.TreeLayout.ORTHOGONAL_STYLE);
The valid values for
style
are: ibm_ilog.graphlayout.tree.TreeLayout.STRAIGHT_LINE_STYLE
(the default)ibm_ilog.graphlayout.tree.TreeLayout.NO_RESHAPE_STYLE
ibm_ilog.graphlayout.tree.TreeLayout.ORTHOGONAL_STYLE