How can I find (iterate over) ALL the cycles in a directed graph from/to a given node?
For example, I want something like this:
A->B->A A->B
http://www.me.utexas.edu/~bard/IP/Handouts/cycles.pdf