I need to show to user several elements in the flow as single one
Inspired by custom-elements example I am thinking to implement following logic:
- At ‘import.parse.start’ event : get input bpmn from event.xml
- Calculate how should be drawn single element, hiding several actual ones
- Save calculated graphic output at custom-elements.json.
- Once modeler.importXML completes : invoke CustomRender and draw elements from custom-elements.json on top of existing diagram.
Does it make sense?
Is there a better way?
Thanks a lot