backport stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 11 Aug 2010 10:08:48 +0200
changeset 6096 09f2c4d24d01
parent 6094 c40652b93321 (current diff)
parent 6095 09a404123f0f (diff)
child 6102 27c47d239739
backport stable
--- a/web/views/dotgraphview.py	Tue Aug 10 18:35:07 2010 +0200
+++ b/web/views/dotgraphview.py	Wed Aug 11 10:08: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',
                  }