
On Thu, 23 Jun 2011, David Doria wrote:
Try:
std::string s; ... boost::static_property_mapstd::string(s) ...
-- Jeremiah Willcock
std::string s; dp.property("node_id", boost::static_property_mapstd::string(s));
produces:
invalid use of void expression.
Before I was just whining that I had to change the adjacency_list template parameters, but now it seems like the vertices that are raed in using the first method (the one that was working) does not keep the correct numbers/ids associated with the vertices. I have an example of that behavior, but I feel like it might be fixed when we get this way working.
Did you need the vertex IDs from the Graphviz file? If so, you will need a "real" property map as node_id (either internal to the graph or an external one). -- Jeremiah Willcock