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





Finds all paths that exist between two DiagramNode objects.

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

 Syntax

C#  Copy Code

public PathCollection FindAllPaths (
    DiagramNode from,
    DiagramNode to,
    int maxPaths
)

Visual Basic  Copy Code

Public Function FindAllPaths( _
    from As DiagramNode, _
    to As DiagramNode, _
    maxPaths As Integer _
) As PathCollection

 Parameters

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

The maximum number of paths to find.

 Return Value

A collection of Path objects; if no paths are found, the collection is empty.

 Remarks

The returned Path instances include the from and to nodes.

 See Also

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