Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic RouteAllLinks - other link proximity penalty (Read 2083 times)
DavidZ
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 22
Joined: Jun 15th, 2013
RouteAllLinks - other link proximity penalty
Jun 20th, 2013 at 6:59pm
Print Post  
I have unfortunately abandoned using the flowchart layout as it does not really layout my shapes for all the cases that I am using. I have resorted to laying out my nodes myself which I have done more or less.

There is a node proximity penalty which prevents the link route from going too near other nodes. However is there a corresponding penalty for other links. I have found that a lot of my links are bunched very close to each other or on top of each other. This makes it harder to follow the links. It also makes it hard to see which link text belongs to which link.

On another note does routeAllLinks change the start and end location of the links? I thought that I would set the connection point on the link and that would remain.

Thanks again

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: RouteAllLinks - other link proximity penalty
Reply #1 - Jun 21st, 2013 at 8:19am
Print Post  
There's no penalty cost for link proximity at this time, we'll try to add a property for next release. CrossingCost should prevent overlapping, but it works only for cascading links at this time, so try changing the link shapes before calling RouteAllLinks().

Alternatively, call OrthogonalRouter.Arrange(), it should pull links apart as far as possible.

I think routing keeps the original end point locations by default, if it does not, try setting RoutingOptions.Anchoring to Keep.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
DavidZ
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 22
Joined: Jun 15th, 2013
Re: RouteAllLinks - other link proximity penalty
Reply #2 - Jun 21st, 2013 at 1:59pm
Print Post  
Thank you. I am using the OrthogonalRouter method which works really well for what I need.

There may be a bug though which I have fixed by doing a bit of post-processing of the links. I am using decision boxes and when using the orthoganalrouter the link stop at the bounds of the node as if it were a rectangle. Is there a setting on the router that will change this or is this a bug?

Thank anyway the solution works really well.

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: RouteAllLinks - other link proximity penalty
Reply #3 - Jun 21st, 2013 at 5:25pm
Print Post  
Try setting OrthogonalRouter.PutEndPointsAtNodeBorders to true.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint