
Dmitry wrote:
I don't see the way you read graph property??
If you mean a graph as opposed to a vertex or edge property, my dot file presently doesn't have one, hence my code doesn't have a property for it. I think the way to do this for an external resource is to: typedef std::mapstd::string,std::string StringToString; StringToString graphText; associative_property_map<Cost> graphTextProperty(graphText); ... dp.property("orientation", graphTextProperty) You need one of the latter for each graph property type present in your graph. The first parameter is the property name. read_graphviz throws an exception if it encounters a property that doesn't have a "place" in the passed dynamic_properties object. Note that I haven't tried this....