
27 Apr
2011
27 Apr
'11
12:12 a.m.
On Wed, 27 Apr 2011, Mathieu - wrote:
On 27 April 2011 00:15, Jeremiah Willcock
wrote: You are passing "weight" as the node_id parameter to write_graphviz_dp, but what you have defined as "weight" in dp is an edge property, not a vertex property.
Ah yes, I didn't pay enough attention I guess!
I think removing the last argument to write_graphviz_dp should fix the problem.
Well, it still throws because it can't retrieve the value for the default value ("node_id") either
You will need something like dp.property("node_id", get(boost::vertex_index, g)) to enable that. -- Jeremiah Willcock