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
Assembly: 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.
MindFusion.Diagramming Developer's Guide | © 2024 MindFusion |