web/views/workflow.py
branch3.5
changeset 3304 2b18276b21ab
parent 3262 12ffb1e95771
child 3306 bf50dc056edd
--- a/web/views/workflow.py	Fri Sep 18 08:16:01 2009 +0200
+++ b/web/views/workflow.py	Fri Sep 18 08:33:16 2009 +0200
@@ -187,7 +187,7 @@
 
     def node_properties(self, stateortransition):
         """return default DOT drawing options for a state or transition"""
-        props = {'label': stateortransition.name,
+        props = {'label': stateortransition.printable_value('name'),
                  'fontname': 'Courier'}
         if hasattr(stateortransition, 'state_of'):
             props['shape'] = 'box'