DroidDiagram Programmer's Guide
QuickRouter.getGranularity Method
See Also
 






Gets the granularity of the obstacles map generated by QuickRouter.

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

 Syntax

Java  Copy Code

public Granularity getGranularity ()

 Return Value

A member of the Granularity enumeration. The default value is CoarseGrained.

 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