|
Boost Users : |
Subject: [Boost-users] Boost graph write_graphml
From: Theodore McCormack (guzbit_at_[hidden])
Date: 2010-04-23 12:34:42
I am having troubles figuring out how to use write_graphml from the
documentation. My problem is in creating the dynamic_property.
To access my vertex properties i use this:
VERTEXPROPERTIES& properties(const Vertex& v)
{
typename property_map<GraphContainer, vertex_properties_t>::type param =
get(vertex_properties, graph);
return param[v];
}
where VERTEXPROPERTIES is a type of a structure that i use for vertex
properties.
how would i go about creating a dynamic_property from that property map?
Regards!
Ted
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