Search
RoutingOptions.CrossingCost Property
See Also
 





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

 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