Search
FlowChart.FindAllPaths Method
See Also
 



Finds all paths between two graph nodes.

 Syntax

VB6  Copy Code

Public Function FindAllPaths( _
    ByVal src As Object, _
    ByVal dest As Object _
) As IArrows

C++  Copy Code

public:
IArrows* FindAllPaths (
    IDispatch* src,
    IDispatch* dest
)

 Parameters

src
A node at which the path starts.
dest
A node at which the path ends.

 Return Value

A collection of Arrow objects that connect the source and destination objects.

 Remarks

Finds all paths between two nodes. 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' Origin and Destination properties. Paths found by this method are buffered and the shortest path is returned as a result. Paths can be retrieved from the buffer using PathCount and GetPath.

 See Also