public static <V, E extends GEdge<V>> List<List<V>> findCircuits(GDirectedGraph<V, E> g,
			TaskMonitor monitor) throws CancelledException {
		return findCircuits(g, true, monitor);
	}
Finds all the circuits, or cycles, in the given graph.

@param g the graph
@param monitor the task monitor
@return the circuits
@throws CancelledException if the monitor is cancelled
Ghidra/Framework/Graph/src/main/java/ghidra/graph/GraphAlgorithms.java