The problem that i am facing is like when I point the mouse on the node object it shows the object title but when i point on its expand & collapse square its taking some random object becoz of this when i click to expand it shows the children of random node object and not the children of original object.
I’m sorry, but I’m unable to understand exactly what situation you are talking about.
In my application when u add a child to a node, a button(a small square with ‘+’ sign) is added to top-left part of the node to expand the node. Now the problem is for some node when i click the expand button it shows the child of some random node which is part of the diagram. I have written a code such that on right clicking the node there are options for collapse and expand , so when i right click and select expand the child node list is shown properly but on clicking expand button it doesn’t work. Please help.
Did you implement that button as a GoCollapsibleHandle, and have your node class implement IGoCollapsible? This just like in the TreeAppNode example class in the TreeApp sample.
I am using the same expand function used in TreeAppNode. When i click the expand button the node that it is selecting is the random node not the original one.