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


#1

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

modeler.get('eventBus').on('commandStack.changed')

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');
            canvas.zoom(1);
        });
    }

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


#2

Not possible, out of the box.