cancel
Showing results for 
Search instead for 
Did you mean: 

Customizing Activiti Designer - changing BPMN element color

lixkid
Champ in-the-making
Champ in-the-making
Hi,

I would like to change colors of some BPMN elements (the way they appear in a BPMN diagram).

What should I change in Activiti Designer's source code for colors to change?

Note: I am coming from camunda fox modeler, in which I have been able to change colors of some elements, but haven't found equivalent classes in Activiti Designer.
1 REPLY 1

trademak
Star Contributor
Star Contributor
Ok, you can change the color by changing the logic in the AddTaskFeature for example.
You have the following line there:

roundedRectangle.setStyle(StyleUtil.getStyleForTask(getDiagram()));

This sets the coloring of the task.

Best regards,