Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Link crossing (Read 1588 times)
monkeydll
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 41
Joined: Jun 27th, 2016
Link crossing
Jul 14th, 2016 at 7:17am
Print Post  
Hello.

I created a constructor with two nodes and two links between these nodes.
The links are one on another and that should not be.
I did this:
new LayeredLayout().Arrange(diagram);
It just arranges my nodes automatically.

Any help would be great.
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3153
Joined: Oct 19th, 2005
Re: Link crossing
Reply #1 - Jul 14th, 2016 at 7:30am
Print Post  
Hi,

Try calling new OrthogonalRouter().Arrange() instead. Also see some other methods to pull apart overlapping links in following topics.

here links remain straight lines but their coordinates change -
http://mindfusion.eu/Forum/YaBB.pl?num=1266388133/8#8

here links are changed to curves, their end points remain but the middle points pull the curves away to avoid overlaps -
http://mindfusion.eu/Forum/YaBB.pl?num=1227111424/1#1

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


I Love MindFusion!

Posts: 41
Joined: Jun 27th, 2016
Re: Link crossing
Reply #2 - Jul 14th, 2016 at 7:45am
Print Post  
Thank you very much it works great
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint