diff options
author | Sylvain <syt@logilab.fr> | 2007-04-09 14:16:41 +0200 |
---|---|---|
committer | Sylvain <syt@logilab.fr> | 2007-04-09 14:16:41 +0200 |
commit | 11bc7d390922df831b113098e1e4687d48fde8c1 (patch) | |
tree | d89b5a62c123a387a47af14d9cd151872166d629 /graph.py | |
parent | b72745bc442e017d6b9d107f1d15e2106e9662aa (diff) | |
download | logilab-common-11bc7d390922df831b113098e1e4687d48fde8c1.tar.gz |
graph name written in the dot file has to be normalized
Diffstat (limited to 'graph.py')
-rw-r--r-- | graph.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -34,7 +34,7 @@ class DotBackend: self.graphname = graphname self.lines = [] self._source = None - self.emit("digraph %s {" % graphname) + self.emit("digraph %s {" % normalize_node_id(graphname)) if rankdir: self.emit('rankdir=%s' % rankdir) if ratio: |