
12 Oct
2009
12 Oct
'09
9:29 p.m.
Dear all, here http://www.boost.org/doc/libs/1_40_0/libs/graph/doc/read_graphviz.html is reported how to use the read_graphviz function with old style "property list". How can I use the read_graphviz() function with bundle properties? This is my graph-type definition --- struct VertexId_t { std::size_t id; }; struct EdgeId_t { std::size_t id; }; typedef boost::adjacency_list<boost::vecS, boost::vecS, boost::directedS, VertexId_t, EdgeId_t> Graph_t; --- And this is the DOT file: --- G { 0 [id="v0"]; 1 [id="v1"]; 0->0 [id="e0"]; 0->0 [id="e1"]; 0->1 [id="e2"]; } --- Cheers, G.