MindFusion.Wpf Pack Programmer's Guide
PathFinder.FindShortestPath Method (DiagramNode, DiagramNode)
See Also
 





Finds and returns the shortest Path between the specified DiagramNode objects.

Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf

 Syntax

C#  Copy Code

public Path FindShortestPath (
    DiagramNode from,
    DiagramNode to
)

Visual Basic  Copy Code

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

 Parameters

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

 Return Value

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

 See Also

FindShortestPath Method Overload List
PathFinder Members
PathFinder Class
MindFusion.Diagramming.Wpf Namespace
FindAllPaths Method