MindFusion.Java Package Programmer's Guide
Diagram.routeAllLinks Method ()
See Also
 






Routes all links in the diagram so that they will not cross any node.

Namespace: com.mindfusion.diagramming
Package: com.mindfusion.diagramming

 Syntax

Java  Copy Code

public void routeAllLinks ()

 Remarks

Each link is routed so that it goes the shortest possible way between the nodes it links without crossing any other nodes. To do so, this method might modify the number of link segments. The value of AutoRoute is not considered when routeAllLinks executes.

RoutingOptions allows tuning the routing algorithm. The most important options are the cost values exposed as LengthCost, TurnCost and CrossingCost properties. They greatly influence the shape of the generated route.

 See Also

routeAllLinks Method Overload List
Diagram Members
Diagram Class
com.mindfusion.diagramming Namespace
RouteLinks Property
LinkRouter Property