ts::edge_descriptor e;
      for (boost::tie(out_i, out_end) = out_edges(v, g); 
           out_i != out_end; ++out_i) {
        e = *out_i;
        Vertex src = source(e, g), targ = target(e, g);
        std::cout &lt;&lt; &quot;(&quot; &lt;&lt; index[src] &lt;&lt; &quot;,&quot; 
                  &lt;&lt; index[targ] &lt;&lt; &quot;) &quot;;
      }
      std::cout &lt;&lt; std::endl;
      //...
    }
    //...
  };
</pre>
For vertex 0 the output is:
<pre>
  out-edges: (0,1) (0,2) (0,3) (0,4)
</pre>
<p>T