How to refresh diagram to update direct changes?

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 :wink:

1 Like