Search
PathFinder.findLongestPath Method
See Also
 





Finds the longest path between the specified DiagramNode objects.

Namespace: MindFusion.Diagramming
Package: PathFinder.js

 Syntax

JavaScript  Copy Code

function findLongestPath ([from, [to]])

 Parameters

from
Optional.

The first DiagramNode element in the Path.

to
Optional.

The last DiagramNode element in the Path.

 Return Value

A Path instance that represents the longest path found; null if there is no Path connecting from and to.

 See Also