diff options
| author | Tim Dwyer <tgdwyer@gmail.com> | 2006-02-14 03:14:22 +0000 |
|---|---|---|
| committer | tgdwyer <tgdwyer@users.sourceforge.net> | 2006-02-14 03:14:22 +0000 |
| commit | 88f24de2f8d995e4d6a82195f6776f4f811cc0ee (patch) | |
| tree | c7f6b256fff2e6ddbaa830ea7fce83d67a5311b5 /src/graphlayout/graphlayout.cpp | |
| parent | cleanup (diff) | |
| download | inkscape-88f24de2f8d995e4d6a82195f6776f4f811cc0ee.tar.gz inkscape-88f24de2f8d995e4d6a82195f6776f4f811cc0ee.zip | |
dumps the graph to cout in dot format
(bzr r138)
Diffstat (limited to 'src/graphlayout/graphlayout.cpp')
| -rw-r--r-- | src/graphlayout/graphlayout.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/graphlayout/graphlayout.cpp b/src/graphlayout/graphlayout.cpp index 48d05823e..efc26ad60 100644 --- a/src/graphlayout/graphlayout.cpp +++ b/src/graphlayout/graphlayout.cpp @@ -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)); |
