Hi there!
May be I'm asking something unbeleivably stupid, but anyway here is my
problem.
I need to get the names of all vertices in the graph (It is
GraphvizDigraph), so
----------------------------------------------------
using namespace boost;
property_map< GraphvizDigraph,
vertex_name_t>::type&
vn = get(vertex_name, g);
graph_traits<GraphvizDigraph>::vertex_iterator i;
for(i = vertices(g).first; i != vertices(g).second; ++i )
{
std::cout<< vn[*i]<::value
_type' (or there is no acceptable conversion)
with
[
Tag=boost::vertex_name_t,
Graph=boost::detail::subgraph_any_pmap::bind_::Property>::Graph,
Property=boost::detail::vertex_property_mapboost::GraphvizDigraph,boost::vertex_name_t::Property>:
:Graph,boost::vertex_name_t>::Property
]
-----------------------------------------------------
Since this code is almost "CopyPasted" from the library example,
my beleif is that it should work. At what point I have to change my
worldview? :)
Thanks in advance.
-------------------------------------
|your sincerely, Maxx, |
| mailto:maxxua@pisem.net |
-------------------------------------