| Advanced Features > Link Shape Policies > Orthogonal Link Shape Policy > Setting the Link Shape Policy |
Setting the Link Shape Policy |
INDEX
PREVIOUS
NEXT
|
The orthogonal link shape policy can be set to links of class IlvPolicyAwareLinkImage. The policy can be shared among links. The following code shows how to set the orthogonal link shape policy to a couple of links:
After the link shape policy is set and added to the grapher, the link remains orthogonal during all the operations that try to reshape the link. To disable the link shape policy, call:
link.setLinkShapePolicy(null);
This does not change the shape of the link immediately, but it enables subsequent operations on the link to reshape it in a non orthogonal way again.
| Copyright © 1987-2007 ILOG S.A. All rights reserved. Documentation homepage. Legal terms. | PREVIOUS NEXT |