Search
PathFinder.EnumAllPaths Method (DiagramNode, DiagramNode, Int32)
See Also
 





Enumerates paths that exist between two DiagramNode objects.

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

 Syntax

C#  Copy Code

public IEnumerable<Path> EnumAllPaths (
    DiagramNode from,
    DiagramNode to,
    int maxPaths
)

Visual Basic  Copy Code

Public Function EnumAllPaths( _
    from As DiagramNode, _
    to As DiagramNode, _
    maxPaths As Integer _
) As IEnumerable(Of Path)

 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

An enumerator that iterates over found paths.

 Remarks

The returned Path instances include the from and to nodes.

 See Also