Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Does diagram.RoutAllLinks affect the links that their property of AutoRout is set to false? (Read 1755 times)
Homam
Junior Member
**
Offline


I Love MindFusion!

Posts: 67
Joined: Feb 7th, 2012
Does diagram.RoutAllLinks affect the links that their property of AutoRout is set to false?
Oct 2nd, 2012 at 6:44am
Print Post  
Does diagram.RoutAllLinks affect the links that their property of AutoRout is set to false?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Does diagram.RoutAllLinks affect the links that their property of AutoRout is set to false?
Reply #1 - Oct 2nd, 2012 at 7:45am
Print Post  
Yes, calling diagram.RouteAll() or link.Route() will reroute links even if there AutoRoute flag is set to false.
  
Back to top
 
IP Logged
 
Homam
Junior Member
**
Offline


I Love MindFusion!

Posts: 67
Joined: Feb 7th, 2012
Re: Does diagram.RoutAllLinks affect the links that their property of AutoRout is set to false?
Reply #2 - Oct 2nd, 2012 at 8:01am
Print Post  
When I create a node, I create with it two free-end links to be handlers. When I call RoutAllLinks(), these unrelated links move and appears in a wired form although their AutoRout property is set to false.

Is there a way to ignore them in RoutAllLinks()?

Another question may solve my problem: Is there any extra processing in RoutAllLinks method or it's only a loop on all links and call Rout for each one?
  

Capture_007.PNG ( 6 KB | 182 Downloads )
Capture_007.PNG
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Does diagram.RoutAllLinks affect the links that their property of AutoRout is set to false?
Reply #3 - Oct 2nd, 2012 at 8:13am
Print Post  
RouteAll does some extra processing when using QuickRouter - it pulls apart link segments that would overlap. You could call diagram.LinkRouter.RouteLinks(collection) to route only specific links while retaining that behavior.

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