summaryrefslogtreecommitdiff
path: root/graph.py
diff options
context:
space:
mode:
authorNicolas Chauvat <nicolas.chauvat@logilab.fr>2008-11-14 13:09:51 +0100
committerNicolas Chauvat <nicolas.chauvat@logilab.fr>2008-11-14 13:09:51 +0100
commit1b7fe6a5fc9b101a46e9bda27b6f206d11b6cfe9 (patch)
treea720d620590c979664886d9ed32ed71685342ac4 /graph.py
parent871009629bdc1c55709470a4d5bb36a7a38c41e1 (diff)
parent75f1b62191d9f294b6c518b482ec050feae05140 (diff)
downloadlogilab-common-version-0_36_1.tar.gz
Diffstat (limited to 'graph.py')
-rw-r--r--graph.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/graph.py b/graph.py
index a672166..c6469ef 100644
--- a/graph.py
+++ b/graph.py
@@ -105,7 +105,7 @@ class DotBackend:
"""
attrs = ['%s="%s"' % (prop, value) for prop, value in props.items()]
n_from, n_to = normalize_node_id(name1), normalize_node_id(name2)
- self.emit('%s -> %s edge [%s];' % (n_from, n_to, ", ".join(attrs)) )
+ self.emit('%s -> %s [%s];' % (n_from, n_to, ", ".join(attrs)) )
def emit_node(self, name, **props):
"""Authorized props: see http://www.graphviz.org/doc/info/attrs.html