Finds the longest path between nodes in the diagram.
VB6
![]() |
---|
Public Function FindLongestPath () As IArrows |
C++
![]() |
---|
public: |
A collection of Arrow objects which make up the longest path.
The 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.
The following method paints in red the arrows included in the longest path.
VB6
![]() |
---|
Private Sub path_Click() |
FlowChartX Programmer's Guide | © 2023 MindFusion |