ASP.NET Pack Programmer's Guide
RoutingOptions.setAnchoring Method
See Also
 






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

 Syntax

Java  Copy Code

public void setAnchoring (
    int value
)

 Parameters

value

One of the Anchoring constants.

 Remarks

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, perform 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.

 See Also

RoutingOptions Members
RoutingOptions Class
com.mindfusion.diagramming Namespace