title: Extracting Trees/DAG from a cyclic graph
body: <p>Given a directed cyclic graph, how do I get various DAGs/trees, which are representative of the input graph? In effect, I'd like to extract various trees from the given circuit (directed &amp; cyclic) graph.</p>