title: Getting edge properties (including related vertices) from boost::adjacency_list
body: <p>So, I must have gone through the Boost documentation for an hour today. I must be blind. I have, I hope, a simple question:</p>
  
  <p>How do you get the corresponding vertices for an edge with boost::adjacency_list?</p>
  
  <p>I have the following code which I'm trying to figure out:</p>
  
  <pre><code>typedef boost::adjacency_list&lt;boost::vecS, boost::vecS, boost::undirectedS&gt; Graph;
  typedef boost::graph_traits&lt;Graph&gt;::edge_iterator EdgeIterator;
  typedef std::pair&lt;EdgeIterator, EdgeIterator&gt; EdgePair;
  
  EdgePair ep;
  for (ep = edges(g); ep.first != ep.second; ++ep.first)
  {
      // Get the two vertices that are joined by this edge...
  }
  </code></pre>
  
  <p>Anyone know how to do this?</p>
  
  <p>Thanks</p>