DroidDiagram Programmer's Guide
RoutingOptions.setCrossingCost Method
See Also
 






Sets the value added to the total route cost if a link crosses another link.

Namespace: com.mindfusion.diagramming
Package: com.mindfusion.diagramming

 Syntax

Java  Copy Code

public void setCrossingCost (
    short value
)

 Parameters

value

An integer value added to the cost of a route when a link crosses another link.

 Remarks

The routing algorithm aims to find paths that have a minimal cost, so assigning a greater value through setCrossingCost leads to fewer link intersections.

 See Also

RoutingOptions Members
RoutingOptions Class
com.mindfusion.diagramming Namespace