Allow diagram coloring in the viewer

I recently tried this example to highlight my models:
bpmn-js-examples/colors at master · bpmn-io/bpmn-js-examples · GitHub

I was trying to use the viewer at first, but I discovered that it only works when using the modeler. The viewer does not have the “modeling” object needed for coloring. It would be nice if we could access this “modeling” object in the viewer too to apply coloring. For now, I can just use the modeler and just hide all the edit controls.

The point of viewer is that you cannot modify the diagram but only displays it. That’s why it does not contain the Modeling module whose purpose is to modify the diagram.

Maybe the setColor() method can be moved to a different module. It would be useful to be able to add color in the viewer.