Sets the size of the buffer area around a node for which link routes are assigned higher costs if they pass through that area.
Namespace: com.mindfusion.diagramming
Package: com.mindfusion.diagramming
Java
![]() |
---|
public void setNodeVicinitySize ( |
A float value specifying the size of the buffer zone around a node where a penalty cost is added to the cost of a passing link.
The pieces of the routing grid that are closest to a node have the value passed through the setNodeVicinityCost method assigned as their cost. The outer pieces of the buffer zone are assigned a portion of NodeVicinityCost proportional to their distance to the node.