Finds the shortest path between the specified nodes.
SyntaxVB6
Copy Code
|
|---|
Public Function FindShortestPath( _ |
C++
Copy Code
|
|---|
public: |
A collection of Arrow objects representing the shortest path.
RemarksFinds the shortest path between two objects. The path is a collection of arrows through which the source object is connected with the destination. The intermediate objects can be found through the arrows' source and destination properties. The path containing the smallest number of arrows is considered the shortest. If there are more paths with the same smallest number of arrows they are buffered. Paths can be retrieved from the buffer using PathCount and GetPath.
See Also