Custom PopUp window

Hi

When any element in the BPMN diagram is clicked, is there a way to show a pop up window. Is it possible to display another bpmn drawing in the pop up window?

Let me know if it is possible.

Thanks,

Please give some context. What kind of popup window would you like to show and which BPMN diagram would you like to show in there?

When any element in BPMN diagram is double clicked, want to show another BPMN sub process diagram in a pop up window.

Any reference on existing kind of popup windows and types of BPMN diagrams in BPMN.io would be helpful.

You can hook into click events on elements. There is an example for that. That should get you started.