Sets a value indicating whether the routing algorithm should align links to the anchor points of nodes.
Namespace: com.mindfusion.diagramming
Package: com.mindfusion.diagramming
Java
![]() |
---|
public void setAnchoring ( |
A member of the Anchoring enumeration.
By default, the routing algorithm ignores anchor points. To make it align link ends to the points specified through calling the setAnchorPattern method of nodes, invoke setAnchoring by passing Keep or Reassign. Keep specifies that the routing algorithm should not change the positions of link end points. Reassign lets the routing algorithm choose new end points for a link from the ones specified in the setAnchorPattern of its origin and destination nodes.