|
Boost Users : |
From: Jeremie Leguay (Jeremie.Leguay_at_[hidden])
Date: 2003-09-24 06:52:12
Hi!
I would like to reverse all the edges of a graphviz
graph but the structure of this kind of graph doesn't
seems to fit with the one use by the
reverse_graph functionalities. Am I true or did I forget
something?
Here is the code that doesnt work:
GraphvizDigraph g;
read_graphviz("datas",g);
typedef reverse_graph<GraphvizDigraph> ReverseGraphType;
ReverseGraphType gr(g);
print_graph(gr, get(vertex_index, gr)); //if I remove this line, it works!
More generally, I would like to inverse the graph with
keeping the same indexes on the vertices. Do you have
ideas?
best regards
/Jeremie Leguay
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