Search
PathFinder.FindLongestPath Method (DiagramNode, DiagramNode)
See Also
 





Finds the longest path between the specified DiagramNode objects.

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public Path FindLongestPath (
    DiagramNode from,
    DiagramNode to
)

Visual Basic  Copy Code

Public Function FindLongestPath( _
    from As DiagramNode, _
    to As DiagramNode _
) As Path

 Parameters

from
The first DiagramNode element in the Path.
to
The last DiagramNode element in the Path.

 Return Value

A Path instance that represents the longest path found; null (Nothing in Visual Basic) if there is no Path connecting from and to.

 See Also