MindFusion.Wpf Pack Programmer's Guide
RoutingOptions.CrossingCost Property
See Also
 





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.Wpf
Assembly: MindFusion.Diagramming.Wpf

 Syntax

C#  Copy Code

public byte CrossingCost { get; set; }

Visual Basic  Copy Code

Public Property CrossingCost As Byte

 Property Value

A byte value specifying the crossing cost. The default is 4.

 Remarks

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.

 See Also

RoutingOptions Members
RoutingOptions Class
MindFusion.Diagramming.Wpf Namespace
LengthCost Property
NodeVicinityCost Property
TurnCost Property