nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4b3252
)
nitdoc: changes class name used within dot graphs
author
Alexis Laferrière
<alexis.laf@xymus.net>
Tue, 14 Feb 2012 04:53:22 +0000
(23:53 -0500)
committer
Jean Privat
<jean@pryen.org>
Tue, 14 Feb 2012 16:30:28 +0000
(11:30 -0500)
Avoids conflicts with classes named Edge.
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
src/nitdoc.nit
patch
|
blob
|
history
diff --git
a/src/nitdoc.nit
b/src/nitdoc.nit
index
ffb5016
..
7525f17
100644
(file)
--- a/
src/nitdoc.nit
+++ b/
src/nitdoc.nit
@@
-1275,6
+1275,7
@@
redef class MMLocalClass
cla.add_all(cshe.greaters_and_self)
var op = new Buffer
+ var name = "class_{name}"
op.append("digraph {name} \{ rankdir=BT; node[shape=none,margin=0,width=0,height=0,fontsize=10]; edge[dir=none,color=gray]; ranksep=0.2; nodesep=0.1;\n")
for c in cla do
if c == self then