projects
/
mtp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b897c5
)
print_dot now generates an horizontal graph.
author
Francois Fleuret
<francois@fleuret.org>
Tue, 28 Aug 2012 07:10:47 +0000
(09:10 +0200)
committer
Francois Fleuret
<francois@fleuret.org>
Tue, 28 Aug 2012 07:10:47 +0000
(09:10 +0200)
mtp_graph.cc
patch
|
blob
|
history
diff --git
a/mtp_graph.cc
b/mtp_graph.cc
index
473d13e
..
95ef485
100644
(file)
--- a/
mtp_graph.cc
+++ b/
mtp_graph.cc
@@
-153,6
+153,7
@@
void MTPGraph::print(ostream *os) {
void MTPGraph::print_dot(ostream *os) {
(*os) << "digraph {" << endl;
+ (*os) << " rankdir=\"LR\";" << endl;
(*os) << " node [shape=circle,width=0.75,fixedsize=true];" << endl;
(*os) << " edge [color=gray,arrowhead=open]" << endl;
(*os) << " " << _source->id << " [peripheries=2];" << endl;