<div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I&#39;d like to use the simple write_graphviz function<br>
write_graphviz(std::cout,g);<br>
<br>
but since my graph doesn&#39;t allow multiple edges between two vertices, the graph type is defined by :<br>
typedef adjacency_list &lt;listS,setS, directedS,...&gt;Graph;<br>
<br>
but then I can&#39;t use the write_graphviz function anymore (compilation error). If I declare my graph with<br>
typedef adjacency_list &lt;listS,vecS, directedS,...&gt;Graph;<br>
it is fine, but �have multiple edges...<br>
<br>
So my question is : is there a way to use write_graphviz with the setS edges representation ?<br>
</blockquote><div><br>I am not terribly familiar with the write_graphviz interface, so this may not be too helpful. I believe the problem is the manner in which setS and vecS identify vertices (descriptors) in the graph data structure. You may need to provide a vertex index map when you call write_graphviz, possibly using dynamic_properties. Unfortunately, I don&#39;t have any examples to point at. Perhaps other users will have encountered and solved the same problem.<br>
�</div></div>Andrew Sutton<br><a href="mailto:andrew.n.sutton@gmail.com">andrew.n.sutton@gmail.com</a><br>