Finds and returns the shortest path between two DiagramNode elements, considering the Weight of the nodes, the Weight of the links or both.
Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf
C# Copy Code |
---|
public Path FindShortestPath ( |
Visual Basic Copy Code |
---|
Public Function FindShortestPath( _ |
A Path instance that represents the shortest Path found or null (Nothing in Visual Basic) if there is no Path connecting from and to.
WpfDiagram Programmer's Guide | © 2024 MindFusion |