Code

dumps the graph to cout in dot format
authortgdwyer <tgdwyer@users.sourceforge.net>
Tue, 14 Feb 2006 03:14:22 +0000 (03:14 +0000)
committertgdwyer <tgdwyer@users.sourceforge.net>
Tue, 14 Feb 2006 03:14:22 +0000 (03:14 +0000)
src/graphlayout/graphlayout.cpp

index 48d05823e8b9c38b298bf8809e81806f4020bff5..efc26ad60ecc7a5ba8e51f0b2e1e2cfdb4d348a9 100644 (file)
@@ -138,7 +138,7 @@ void graphlayout(GSList const *const items) {
        std::cout<<"Graph has |V|="<<num_vertices(g)<<" Width="<<width<<" Height="<<height<<std::endl;
        PositionVec position_vec(num_vertices(g));
        PositionMap position(position_vec.begin(), get(vertex_index, g));
-       //write_graphviz(std::cout, g, make_label_writer<std::vector<std::string>>(labels));
+       write_graphviz(std::cout, g);
        circle_graph_layout(g, position, width/2.0);
        kamada_kawai_spring_layout(g, position, weightmap, side_length(width));