Boost logo

Boost Users :

From: Jeremie Leguay (Jeremie.Leguay_at_[hidden])
Date: 2003-09-24 06:52:12


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

Here is the code that doesnt work:
        GraphvizDigraph 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

best regards

/Jeremie Leguay

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at