DroidDiagram Programmer's Guide
RoutingOptions.setNodeVicinitySize Method
See Also
 






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

 Syntax

Java  Copy Code

public void setNodeVicinitySize (
    float value
)

 Parameters

value

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.

 Remarks

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.

 See Also

RoutingOptions Members
RoutingOptions Class
com.mindfusion.diagramming Namespace