Hi ! I just discovered GoJS and I used the BPMN Editor example with Websocket to make a Google Drive-like collaborative editor.
It works pretty well but when I add a node or a link to the editor, editors of others people on the documents empty all and re-add all with a sliding effect. The “disappear/reappear” doesn’t bother, it’s pretty fast, but the sliding effect is more disturbing for the user.
I made a video tho show the issue : GoJS BPMN Websocket issue - YouTube
And here is the code of the loading function :
function goLoadJSON(diagram, jsondata) {
diagram.model = go.Model.fromJson(jsondata);
diagram.model.undoManager.isEnabled = true;
diagram.isModified = false;
}
If you have any API link, keyword or anything to help me to find a solution, it would be awesome !
Thank you very much !