Gets or sets a value specifying 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
C# Copy Code |
---|
public bool RouteLinks { get; set; } |
Visual Basic Copy Code |
---|
Public Property RouteLinks As Boolean |
true to route links; otherwise, false. The default is false.
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.
Diagramming for .NET MAUI Guide | © 2024 MindFusion |