Finds the longest path between the specified DiagramNode objects.
Namespace: MindFusion.Diagramming
File: PathFinder.js
SyntaxJavaScript
Copy Code
|
|---|
function findLongestPath ([from, [to]]) |
The first DiagramNode element in the Path.
The last DiagramNode element in the Path.
A Path instance that represents the longest path found; null if there is no Path connecting from and to.
See Also