I have been trying (unsuccessfully for the past hour), to read a graphviz file into an adjacency_list type. The program stops with a SIGABRT because I haven't mapped "node_id" to anything within the dynamic properties argument. However, I really have no desire to map node_id to anything; this is a very large graph and I'd like to avoid the memory consumption.
If I try to map node id to the vertex_index_t map I receive a compiler error stating that's a const property map. If I want to map node_id to vertex_name_t map, I have to add that property to my adjacency_list type which will bloat the memory consumption. I just want to build the graph without worry about the properties. Is there anyway this can be done easily? If you don't care about any properties, and you are using Boost from
I'm not absolutely sure, but you might be able to pass along a boost::dummy_property_map (defined in boost/property_map.hpp) as the property map for node_id. That map will not store any information. On Aug 27, 2007, at 11:31 PM, Sam Peterson wrote: the svn repository, then you can construct your dynamic_properties object with the argument '&boost::ignore_other_properties' and it will not complain about any properties. HTH, ron