title: How get fundamental cycles with R + Igraph
body: <p>I have the next graph,</p>
  
  <pre><code>library(igraph)
  library(Cairo)
  
  g&lt;-graph(c(0,1,0,4,0,9,1,7,1,9,2,9,2,3,2,5,3,6,3,9,4,5,4,8,5,8,6,7,6,8,7,8),n=10,dir=FALSE)
  V(g)$name&lt;-c(1:10)
  V(g)$label&lt;-V(g)$name
  coords &lt;- c(0,0,13.0000,0,5.9982,5.9991,7.9973,7.0009,-1.0008,11.9999,0.9993,11.0002,7.9989,13.0009,10.9989,14.0009,5.9989,14.0009,7.0000,4.0000)
  coords &lt;- matrix(coords, 10,2,byrow=T)
  plot(g,layout=coords)
  </code></pre>
  
  <p>I'd like to get cycles of 4 , 5...n vertex, for example in these graph i'd like to get cycles of 5,</p>
  
  <pre><code>1 10 3 6  5
  2  8 7 4 10
  3  4 7 9  6
  </code></pre>
  
  <p>I don't want cycles like </p>
  
  <p><code>1 2 8 9 5</code> which have vertex inside of this cycle.</p>