As reference from
https://mindfusion.eu/Forum/YaBB.pl?num=1596017540var crect = container.getContentBounds(true);
crect = crect.inflate(container.margin);
crect.y -= container.captionHeight;
crect.height += container.captionHeight;
this code is work for if i have only one parent but if i have parent of parent i am trying to chnage the posiiton of internal node it is not working .
In below image s4 is child s4-parent is s3 and s3 -parent is s2
if i am trying to move s4 to the side of other node s1 that time s2(parent of parent) is already some intersect with s1 after that it will not allowed to intersect.
In the above example case is like i have child and that child having parent of parent this is one case but may be child have parent and that parent also one parent and so on
(it's chain of parent ) In this case how to find
above your answer code i have applied same to parent of parent it's going and overlap some part.
Please give me some idea to do this as soon as.