DroidDiagram Programmer's Guide
PathFinder.findShortestPath Method (DiagramNode, DiagramNode)
See Also
 






Finds and returns the shortest Path between the specified DiagramNode objects.

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

 Syntax

Java  Copy Code

public Path findShortestPath (
    DiagramNode from,
    DiagramNode to
)

 Parameters

from

The DiagramNode where the path should start.

to

The DiagramNode where the path should end.

 Return Value

A Path instance that represents the shortest path found; null, if there is no path connecting from and to.

 See Also

findShortestPath Method Overload List
PathFinder Members
PathFinder Class
com.mindfusion.diagramming Namespace