DroidDiagram Programmer's Guide
QuickRouter.setGranularity Method
See Also
 






Sets the granularity of the obstacles map generated by QuickRouter.

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

 Syntax

Java  Copy Code

public void setGranularity (
    Granularity value
)

 Parameters

value

A member of the Granularity enumeration.

 Remarks

A CoarseGrained obstacle map leads to faster path finding, however the found paths might be longer than necessary in a small percent of the cases. The coarse-grained map also takes slightly more time to build, so you might disable it if there are aren't many links in the diagram.

 See Also

QuickRouter Members
QuickRouter Class
com.mindfusion.diagramming Namespace