Search
FlowChart.FindLongestPathBetween Method
See Also
 



Finds the longest path between the specified nodes.

 Syntax

VB6  Copy Code

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

C++  Copy Code

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

 Parameters

src
The start node.
dest
The end node.

 Return Value

A collection of Arrow objects which make up the longest path between the specified nodes.

 Remarks

The path containing the largest number of arrows is considered the longest one. The path returned by this method comprises a collection of arrows through which the source node is connected with the destination. The intermediate nodes can be found through the arrows' source and destination properties.

 See Also