Search
RoutingOptions.NodeVicinityCost Property
See Also
 





Gets or sets a value added to the total cost of a route if the route passes too close to a node.

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public byte NodeVicinityCost { get; set; }

Visual Basic  Copy Code

Public Property NodeVicinityCost As Byte

 Property Value

A byte value specifying the node vicinity cost. The default is 2.

 Remarks

This is a penalty value added to the total cost of an evaluated link route if it passes too close to a node. The routing algorithm aims to find paths that have a minimal cost, so assigning a greater value to NodeVicinityCost makes links avoid passing close to nodes. The size of the buffer area around nodes in which passing links get a penalty cost is set via NodeVicinitySize.

 See Also