title: Finding all cycles in an undirected graph
body: <p>If I have an undirected graph, how can I get a list of all cycles?</p>
  
  <p>For example, from the following graph, I would want the cycles:</p>
  
  <pre><code>(a,b,d,e,c)
  (a,b,c)
  (b,d,e)
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/egBEq.png" alt="enter image description here"></p>