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






Finds and returns the shortest path between from and to. Returns null if no path exists.

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

 Syntax

Java  Copy Code

public static Path findShortestPath (
    Graph graph,
    Node from,
    Node to
)

 Parameters

graph

from

to

 Return Value

 See Also

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