There is some way to run:
bpmnJS.importXML() , without XML value ?
and then the bpmnJS Lib will generate a new xml file(with unique --> id=“Definitions_xxxxx”)
just like in https://demo.bpmn.io/new
when the user click on button “create new BPMN diagram” the bpmnJS generate a new XML file with new Definitions
who “create new BPMN diagram” buttons work?
I want to do the same behavior as his