Sets a value added to the total cost of a route if the route passes too close to a node.
Namespace: MindFusion.Diagramming
Package: GridRouter.js
JavaScript Copy Code |
---|
function setTurnCost (value) |
A number specifying the node vicinity cost. The default is 2.