Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Diagram Layout (Read 3965 times)
Mandy
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 46
Joined: Jun 3rd, 2020
Diagram Layout
Oct 28th, 2021 at 8:49am
Print Post  
Hi,
I have two questions regarding diagram layout.
1)As first screenshot show how to avoid cross line.
2)How to fix node arrange when change the child node numbers(e,g sometimes add new node and call layout.arrange() the position of node will changed. How to fix the position not automatic arrange)
  

Screenshot_20211028-161737_1.jpg ( 96 KB | 117 Downloads )
Screenshot_20211028-161737_1.jpg
Screenshot_20211028-161846_2.jpg ( 81 KB | 132 Downloads )
Screenshot_20211028-161846_2.jpg
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3147
Joined: Oct 19th, 2005
Re: Diagram Layout
Reply #1 - Oct 28th, 2021 at 9:07am
Print Post  
Hi,

Try using TreeLayout instead of LayeredLayout, which I'm assuming is what the screenshots show. It should both avoid any crossing links if your graphs are strict hierarchical trees, and lets you control child nodes' order - it corresponds to order of OutgoingLinks collections of parent nodes.

Regards,
Slavcho
Mindfusion
  
Back to top
 
IP Logged
 
Mandy
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 46
Joined: Jun 3rd, 2020
Re: Diagram Layout
Reply #2 - Oct 29th, 2021 at 2:38am
Print Post  
Hi,
1)Thank you for your reply it's very helpful.
2)Is it possible to move the scrollbar to the first node when diagram have multiple nodes  ?
  

IMG_0075.PNG ( 174 KB | 130 Downloads )
IMG_0075.PNG
IMG_0076.PNG ( 148 KB | 125 Downloads )
IMG_0076.PNG
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3147
Joined: Oct 19th, 2005
Re: Diagram Layout
Reply #3 - Oct 29th, 2021 at 6:45am
Print Post  
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint