
22 Jun
2011
22 Jun
'11
11:04 a.m.
If I have a graph with no vertex properties or edge properties: adjacency_list<vecS, vecS, undirectedS> can I read a .dot file into it with read_graphviz? I tried: dynamic_properties dp; Graph g; read_graphviz(fileinput, g, dp); but it throws an exception "Property not found: node_id". I tried to add property_map<Graph, vertex_name_t>::type name = get(vertex_name, g); dp.property("node_id",name); but I get a compiler error "No match for operator<<" Any suggestions? Thanks, David