|
Boost Users : |
Subject: Re: [Boost-users] Why can't I use boost graph write_graphviz with OutEdgeList=listS and VertexList=listS
From: Allan Nielsen (a_at_[hidden])
Date: 2011-04-25 14:33:15
Hi
> The write_graphviz function requires a vertex_index map, which is not
> provided by default by graphs with listS as the vertex container. Â You can
> add that property explicitly to a listS graph, and fill it in before the
> write_graphviz call (after any changes to the graph vertices).
Thanks.... But it is not clear to me how to do this (sorry, i'am quite
new to BGL)
If I would just like to use the vertes_descriptor pointers as lables,
what would that look like??
Do you know about an example I could look at??
-- Allan
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net