24 Sep
2003
24 Sep
'03
11:52 a.m.
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