Finds and returns all paths that exist between two DiagramNode objects.
Namespace: MindFusion.Diagramming
Package: PathFinder.js
JavaScript Copy Code |
---|
function findAllPaths (from, to, [maxPaths]) |
The first DiagramNode in the Path.
The last DiagramNode in the Path.
The maximum number of paths to find.
An array of Path objects; if no paths are found, the array is empty.
The returned Path instances include the from and to nodes.