I am trying to add node in ‘nodeDataArray’ thought code, in below screenshot you can see my code
after doing this I verified ‘nodeDataArray’ , data is added in array object but on diagram UI am am unable to find newly created node.
I also tried with ‘model.setDataProperty’ as well, same result.
You could call
myDiagram.findNodeForKey("1000") to see if the Group exists in the Diagram.
If it does you can look at its location to see where it is.
Actually it was present in the diagram but not visible, reason might be ‘myDiagram.addLayerBefore’ missing in my code. Working fine now.
Thanks for quick response.