From 96dcfcd87c1ea7a9bb995abcbbc59490108d8b4e Mon Sep 17 00:00:00 2001 From: crinq Date: Thu, 29 Jan 2015 19:35:23 +0100 Subject: [PATCH] -ratio --- graphviz/test.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/graphviz/test.cpp b/graphviz/test.cpp index e21583c7..e5a78bd7 100644 --- a/graphviz/test.cpp +++ b/graphviz/test.cpp @@ -42,16 +42,16 @@ int main(){ } s = m.suffix().str(); } - + dotfile << "digraph G {" << endl; dotfile << "rankdir = LR;" << endl; dotfile << "splines = spline;" << endl; - dotfile << "ratio = 1;" << endl; + //dotfile << "ratio = 1;" << endl; dotfile << "overlap = false;" << endl; dotfile << "start = regular;" << endl; dotfile << "forcelabels = true;" << endl; - - + + for(auto &comp:comps){ dotfile << "subgraph cluster_" << comp.first << "{" << endl; dotfile << " style = rounded;" << endl; @@ -61,11 +61,11 @@ int main(){ } dotfile << "}" << endl; } - + for(auto &link:links){ dotfile << link << endl; } dotfile << "}" << endl; return 0; -} \ No newline at end of file +}