Gets or sets a value added to the total cost of a route which causes a link to cross another link.
Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming
C# Copy Code |
---|
public byte CrossingCost { get; set; } |
Visual Basic Copy Code |
---|
Public Property CrossingCost As Byte |
A byte value specifying the crossing cost. The default is 4.
This is a penalty value added to the total cost of an evaluated link route if it crosses another link. The routing algorithm aims to find paths that have a minimal cost, so assigning a greater value to CrossingCost leads to fewer link intersections. At this time CrossingCost processing is implemented only for links with Shape set to Cascading.
NetDiagram Programmer's Guide | © 2023 MindFusion |