DroidDiagram Programmer's Guide
PathFinder.findLongestPath Method (long)
See Also
 






Finds the longest path in the diagram. The time limit specifies the maximal duration of the search process in milliseconds.

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

 Syntax

Java  Copy Code

public Path findLongestPath (
    long timeLimit
)

 Parameters

timeLimit

Specifies the maximal amount of time the algorithm is allowed to run.

 Return Value

A Path object representing the found path, or null if there aren't any linked nodes in the graph.

 See Also

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