diff options
author | Ian Godin <iangodin@gmail.com> | 2012-02-11 17:20:42 (GMT) |
---|---|---|
committer | Evan Martin <martine@danga.com> | 2012-02-14 00:20:18 (GMT) |
commit | a1ea9c2d3b74bbc8b290d41c31b4d54f905146ec (patch) | |
tree | 290cd3a740d61930d8c4cdd35c6f4e544f6bf1cc | |
parent | 7504ab4e5dbb153979333c67a8a43448040b718d (diff) | |
download | Ninja-a1ea9c2d3b74bbc8b290d41c31b4d54f905146ec.zip Ninja-a1ea9c2d3b74bbc8b290d41c31b4d54f905146ec.tar.gz Ninja-a1ea9c2d3b74bbc8b290d41c31b4d54f905146ec.tar.bz2 |
Made graph horizontal (better for filenames)
-rw-r--r-- | src/graphviz.cc | 1 |
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"); } |