I saw that there is a new function that allows to access multiple diagrams on bpmn canvas. I would like to contribute adding three new buttons to manipulate diagrams:
- Add diagram
- Remove diagram
- Switch between them
I tried to make this functionality on Camunda modeler, and it works well but I think that was a rough solution, It’s better to make it directly on bpmn-js project, but I am not really certain of where to begin.
If I understood well the project, I need to make a handler on modeling -> behaviour -> cmd to handle the execution of three new commands, adding the new prototype methods on the Modeling object. Is it right?
And how can I make the new buttons on canvas? Do I need to work also on diagram-js project?
Thank you very much for your answers and your help.