Gets or sets a value added to the total cost of a route if it causes a link to cross another link.
Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming.Silverlight
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 LinkShape set to Cascading.