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
C# Copy Code |
---|
public byte NodeVicinityCost { get; set; } |
Visual Basic Copy Code |
---|
Public Property NodeVicinityCost As Byte |
A byte value specifying the node vicinity cost. The default is 2.
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.
NetDiagram Programmer's Guide | © 2023 MindFusion |