Sets a value added to the total cost of a route for each piece of the routing grid occupied by the route.
Namespace: MindFusion.Diagramming
Package: GridRouter.js
JavaScript Copy Code |
---|
function setLengthCost (value) |
A number specifying the length cost. The default is 2.