Use octagon for activities and set fontsize in print workflow

This commit is contained in:
Cédric Krier committed 2008-11-14 16:50:40 +01:00
1 parent 0b8e36604f
commit aa1629b7e1
1 file changed
+4 -1
+4 -1
View File
@@ -322,12 +322,15 @@ class InstanceGraph(Report):
actto[activity.id] = substop
else:
args = {}
args['label'] = activity.name
args['fontsize'] = '10'
if activity.flow_start or activity.flow_stop:
args['style'] = 'filled'
args['color'] = 'lightgrey'
args['label'] = activity.name
if activity.subflow:
args['shape'] = 'box'
else:
args['shape'] = 'octagon'
if activity.id in workitem:
args['label'] += '\\nx ' + str(workitem[activity.id])
args['color'] = 'red'