Handling multiple users sessions on the same diagram

We are using diagram.js to draw diagrams, we have one requirement that we want multiple users to work on the same workflow so in the end after saving the diagram it should merge with the latest changes done by other users.
Could you suggest me some way how we can achieve this thing.

Thanks in advance.

There are no inbuilt solutions to perform the live update of the dhtmlxDiagram for several local machins.