Quantcast
Channel: GoJS - Northwoods Software
Viewing all articles
Browse latest Browse all 7069

GoJs Hangs and too slow

$
0
0

@senoz wrote:

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.

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles