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

diagram.nodeDataArray is not updating

$
0
0

@pratap wrote:

I am trying this
// variable nodeData is node Array ordered node i.e nodes are sorted on basis on its location

myDiagram.startTransaction("modify nodeDataArray");
myDiagram.model.nodeDataArray = nodeData;
myDiagram.commitTransaction("modify nodeDataArray");

after that i am accessing
myDiagram.nodes.each(function(node){

// here nodes are coming in previous order only i.e node data is not modified

});

Posts: 5

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles