Search
PathFinder.findAllPaths Method (DiagramNode, DiagramNode, int)
See Also
 

Finds and returns all paths that exist between two DiagramNode objects. The returned Path instances include the from an to nodes.

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

 Syntax

Java  Copy Code

public PathList findAllPaths (
    DiagramNode from,
    DiagramNode to,
    int maxPaths
)

 Parameters

from

The DiagramNode where the path should start.

to

The DiagramNode where the path should end.

maxPaths

The maximum number of paths to find.

 Return Value

A collection of Path objects; if no paths are found, the collection is empty.

 See Also