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
Assembly: MindFusion.Diagramming
SyntaxC#
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.
See Also