Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Overlapping issue in case of child parent of parent (Read 788 times)
reshma
Junior Member
**
Offline


I Love MindFusion!

Posts: 91
Joined: Jan 16th, 2018
Overlapping issue in case of child parent of parent
Oct 12th, 2020 at 8:06am
Print Post  
As reference from
https://mindfusion.eu/Forum/YaBB.pl?num=1596017540

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

Boundary_Child-Parent-Parent_001.png ( 25 KB | 87 Downloads )
Boundary_Child-Parent-Parent_001.png
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint