Finds the longest path between the specified DiagramNode objects.
Namespace: MindFusion.Diagramming
File: PathFinder.js
JavaScript 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.
MindFusion.Diagramming for JavaScript Programmer's Guide | © 2024 MindFusion |