Finds the longest path between nodes in the diagram.
SyntaxVB6
Copy Code
|
|---|
Public Function FindLongestPath () As IArrows |
C++
Copy Code
|
|---|
public: |
A collection of Arrow objects which make up the longest path.
RemarksThe path containing the largest number of arrows is considered the longest one. The path returned by this method comprises a collection of arrows. The nodes included in the path can be found through the arrows' Origin and Destination properties.
ExampleThe following method paints in red the arrows included in the longest path.
VB6
Copy Code
|
|---|
Private Sub path_Click() |
See Also