as above, I’m looking for possibility to load another diagram into opened canvas.
I use bpmn-loader, bpmn-modeler wrapped with Angular and I’m completely new to BPMN.
For now I’ve implemented personal properties providers with creation of own panel tabs.
- Additional button, anywhere, that loads another diagram from drive
- Loaded diagram would be “pasted” to currently opened canvas and wrapped as sub-process
1.Which way would be the best to handle this?
I’ve been thinking about some service to load current canvas and then re-load it with added sub-process,
maybe there is some clever way to do this with help of any bpmn libs?
- Could you please advise any flow?
- What should I avoid?
- I’m aware of possible id conflicts between loaded and existing diagrams, anything else like this I should keep eye on?
edit: 5. Sub-process would be a better fit or pool as wrapper, from philosophy of BPMN point of view?
I will be very thankful for any suggestions:)