How can I use colorRenderer with BpmnViewer


I have to change the color of each type of the element accordingly like ‘bpmn:Lane’,‘bpmn:StartEvent’,‘bpmn:Task’ .So how can I use colorRenderer with Bpmnviewer so that I can set colors each element. My code is same as in simple-commonjs example

What did you try? Did you look into the colors example we’ve put up?

Yes I looked into colors example and wanted to try third option.Now,I am able to use that colorRenderer. But,There was a problem;Icouldn’t get that instances of SequenceFlows and messageFlows.So,I have decided to use normal css to change colors.