Determines whether there are any cycles containing the specified object.
VB6 Copy Code |
---|
Public Function DetectCycle( _ |
C++ Copy Code |
---|
public: |
A collection of Arrow objects forming a cycle.
Finds the cycles containing the specified object. Cycles are represented as a collection of arrows, just as paths are. Traversing a cycle through its arrows and the object connected to them will lead to the object where traversing started. The intermediate objects can be found through the arrows' Origin and Destination properties. If there are more cycles detected, for the object passed as an argument, they are buffered. Cycles can be retrieved from the buffer using CycleCount and GetCycle.
FlowChartX Programmer's Guide | © 2023 MindFusion |