Boost Users :
Subject: Re: [Boost-users] read_graphviz with a simple graph
From: David Doria (daviddoria_at_[hidden])
Date: 2011-06-23 16:20:32
On Thu, Jun 23, 2011 at 4:06 PM, Jeremiah Willcock <jewillco_at_[hidden]> wrote:
> On Thu, 23 Jun 2011, Jeremiah Willcock wrote:
>> On Wed, 22 Jun 2011, David Doria wrote:
>>>> I think you will need some kind of property to store the vertex names
>>>> Graphviz; you might be able to use null_property_map for that (from
>>>> <boost/graph/property_maps/null_property_map.hpp>) though.
>>>> -- Jeremiah Willcock
Hm, I tried:
typedef boost::adjacency_list < boost::vecS, boost::vecS,
boost::directedS, VertexProperty> Graph;
boost::make_null_property<Graph::vertex_descriptor, std::string>() );
but I get a compiler error on that last line (i.e. if I comment it the
error goes away) that says:
"error: no matching function for call to
'get(boost::null_property_map<unsigned int, std::basic_string<char> >
&, unsigned int)"
I don't know what that means ?
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net