Hi,
I found a very useful answer on how to create templated graphs using boost::graph under http://stackoverflow.com/questions/671714/modifying-vertex-properties-in-a-boostgraph/950173#950173
For me, this is very convenient as long as I do all the work on the graph in the Graph-class itself.
However, it might be necessary to access information from outside, e.g. one might want to implement a Printer-class that takes a Graph-object and prints out all the stored information.
In that case, it could be handy to access all the vertices (e.g. by a vertex iterator). Unfortunately, this won't work, as all the typedef is done in the Graph-class and this information is not accessible from outside, so the Printer-class won't know what a vertex-iterator etc. is.
How could I address this issue and still keep the templated aspect?
Thanks.