ASP.NET Pack Programmer's Guide
PathFinder.FindAllPaths Method (DiagramNode, DiagramNode)
See Also
 





Finds and returns all paths that exist between two DiagramNode objects.

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public PathCollection FindAllPaths (
    DiagramNode from,
    DiagramNode to
)

Visual Basic  Copy Code

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

 Parameters

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

 Return Value

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

 Remarks

The returned Path instances include the from an to nodes.

 See Also

PathFinder Members
PathFinder Class
MindFusion.Diagramming Namespace
FindShortestPath Method