Is it possible to add xml tag to existing bpmn xml?

i’m using socket and bpmn
what i already done is when user A do something client listen to xml change event and send to socket


and then user B receive xml from socket and re-render bpmn canvas

    openBpmnDiagram = (xml) => {
        this.modeler.importXML(xml, (error) => {
            if (error) {return console.log('fail import xml');}
            var canvas = this.modeler.get('canvas');

and my question…
is it possible xml from user B change with xml from user A via socket without re-render ?

Not possible, out of the box.

1 Like