mardi 23 août 2016

How to print a labled_graph in graphviz with lable showed

I am currently exploring the BGL and came across the labled_graph. I am using the labled_graph like this.

typedef boost::labeled_graph<
boost::adjacency_list<>,
std::string
> graph;

What I can't find, is how to print such a graph out using the boost::write_graphviz method, with the lables of the graph. could anybody help me, what I have to pass to boost::make_label_writer to achieve this?

Aucun commentaire:

Enregistrer un commentaire