summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIan Godin <iangodin@gmail.com>2012-02-11 17:20:42 (GMT)
committerEvan Martin <martine@danga.com>2012-02-14 00:20:18 (GMT)
commita1ea9c2d3b74bbc8b290d41c31b4d54f905146ec (patch)
tree290cd3a740d61930d8c4cdd35c6f4e544f6bf1cc
parent7504ab4e5dbb153979333c67a8a43448040b718d (diff)
downloadNinja-a1ea9c2d3b74bbc8b290d41c31b4d54f905146ec.zip
Ninja-a1ea9c2d3b74bbc8b290d41c31b4d54f905146ec.tar.gz
Ninja-a1ea9c2d3b74bbc8b290d41c31b4d54f905146ec.tar.bz2
Made graph horizontal (better for filenames)
-rw-r--r--src/graphviz.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/graphviz.cc b/src/graphviz.cc
index 3dfa716..3ead975 100644
--- a/src/graphviz.cc
+++ b/src/graphviz.cc
@@ -63,6 +63,7 @@ void GraphViz::AddTarget(Node* node) {
void GraphViz::Start() {
printf("digraph ninja {\n");
+ printf("rankdir=\"LR\"\n");
printf("node [fontsize=10, shape=box, height=0.25]\n");
printf("edge [fontsize=10]\n");
}