$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
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