Finds the longest path between the specified DiagramNode objects.
Namespace: MindFusion.Diagramming
Package: 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.
NetDiagram Programmer's Guide | © 2023 MindFusion |