My problem solved. To do this you need reference to eventBus and fire command:
eventBus.fire('commandStack.changed', {elements: [element] , type: 'commandStack.changed'});
After that I can download my updated diagram
My problem solved. To do this you need reference to eventBus and fire command:
eventBus.fire('commandStack.changed', {elements: [element] , type: 'commandStack.changed'});
After that I can download my updated diagram