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