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
Package: MindFusion.Diagramming
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.