if nodeData[‘data’] comes with huge data. The GOJS application hangs and its too slow …
due to setDataProperty
this.diagram.model.startTransaction(constants.TRANSACTIONS.UPDATE_MODEL_DATA); this.diagram.model.setDataProperty(selectedNode.data, 'data', nodeData['data']); selectedNode.updateTargetBindings(selectedNode.data); this.diagram.model.commitTransaction(constants.TRANSACTIONS.UPDATE_MODEL_DATA);
How to fix it. Please help.