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.
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.