Search
Diagram.RouteLinks Property
See Also
 





Gets or sets a value indicating whether links should avoid nodes by going the shortest path from their origin to their destination without crossing any other nodes.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public bool RouteLinks { get; set; }

Visual Basic  Copy Code

Public Property RouteLinks As Boolean

 Property Value

true to route links; otherwise, false. The default is false.

 Remarks

The value of RouteLinks is used to initialize the AutoRoute property of new links. If a node is moved or resized, all links that intersect with its new position and have AutoRoute enabled are rerouted. Keep in mind that number of link segments will probably change when routing is enabled.

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