Gets 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 getLengthCost () |
Type: Number
A number specifying the length cost. The default is 2.