Gets or sets the size of a buffer zone around a node for which routes get a penalty cost if they pass through it.
Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming
C# Copy Code |
---|
public float NodeVicinitySize { get; set; } |
Visual Basic Copy Code |
---|
Public Property NodeVicinitySize As Single |
A float value specifying the size of the buffer area in which passing routes receive a penalty cost. The default is 12.
The pieces of the routing grid that are closest to a node have the value of NodeVicinityCost assigned as their cost. The outer pieces of the buffer zone are assigned a portion of NodeVicinityCost proportional to their distance to the node.