[dot] oops, should use dc_title here stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 10 Aug 2010 18:39:48 +0200
branchstable
changeset 6095 09a404123f0f
parent 6093 9001a74fcc82
child 6096 09f2c4d24d01
child 6097 27e48fb7f113
[dot] oops, should use dc_title here
web/views/dotgraphview.py
--- a/web/views/dotgraphview.py	Tue Aug 10 16:10:28 2010 +0200
+++ b/web/views/dotgraphview.py	Tue Aug 10 18:39:48 2010 +0200
@@ -70,7 +70,7 @@
 
     def node_properties(self, entity):
         """return default DOT drawing options for a state or transition"""
-        return {'label': entity.printable_value('name'),
+        return {'label': entity.dc_title(),
                 'href': entity.absolute_url(),
                 'fontname': 'Courier', 'fontsize': 10, 'shape':'box',
                  }