Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Controlling layout of links (Read 1089 times)
Chandermani
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 11
Joined: Apr 23rd, 2010
Controlling layout of links
May 3rd, 2010 at 6:40am
Print Post  
Hi,
I need to affect he link layout for some specific scenarios as shown in screenshot

http://docs.google.com/leaf?id=0B59ctf4e17gZMjBlNTkwYTQtNWVmNy00Nzg1LTgwOGYtMzcw...

The image on the left uses GridRouter to link shapes. The image on the right uses QuickRouter.  In the second scenario all links take a turn at a same location whereas in the first diagram the turn happens at different location.How can we achieve this specific behavior with GridRouter too.

Chandermani
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Controlling layout of links
Reply #1 - May 3rd, 2010 at 8:07am
Print Post  
Hi,

Try running the routing function with CrossingCost set to 0 just as a test. I'm not sure if it will help much, but it should have some effect on this since it is also applied when segments overlap, and so by default GridRouter chooses paths where the segment overlap less.

Otherwise you could do that as some kind of post-processing - e.g. sort the links by their end points, and for all groups of 3-segmented links with same starting and ending X move the middle segments to the same position.

Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint