Enumerates all paths that exist between two DiagramNode objects.
Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming
C# Copy Code |
---|
public IEnumerable<Path> EnumAllPaths ( |
Visual Basic Copy Code |
---|
Public Function EnumAllPaths( _ |
The first DiagramNode in the Path.
The last DiagramNode in the Path.
The maximum number of paths to find.
A collection of Path objects; if no paths are found, the collection is empty.
The returned Path instances include the from and to nodes.
The Enum* methods of PathFinder immediately yield each path once found, as opposed to Find* methods which collect them in a list.
MindFusion.Diagramming Developer's Guide | © 2024 MindFusion |