Gliph\Graph\Digraph::getCycles PHP Method

getCycles() public method

Returns the cycles in this graph, if any.
public getCycles ( ) : array
return array An array of arrays, each subarray representing a full cycle in the graph. If the array is empty, the graph is acyclic.
    public function getCycles();