-
Task
-
Resolution: Fixed
-
L3 - Default
-
None
-
None
Currently, the rendering is done in a central place (Renderer, DmnRenderer). This was done this way by bpmn.io for performance reasons. However, this means that every module that adds elements which have to be rendered in a special way needs to change the Renderer. This breaks the self-containment of the module.
To solve this, the Renderer should fire an event. Modules can listen to this event and react to it by augmenting the visual element with their own rendering.