Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Manual "RouteAllArrows"? (Read 2137 times)
just2click
YaBB Newbies
*
Offline


Go Sharks Go

Posts: 16
Joined: Oct 11th, 2006
Manual "RouteAllArrows"?
Nov 28th, 2006 at 6:59am
Print Post  
Hi folks,

First I'd like to thanks Stoyo for his reply on my previous question, I used it to sublimate my solution (still in progress).

I have a new question though...
I'm having severe performance issues when applying the RouteAllArrows method when I have many entities on my graph.

In order to clarify this even more I'll add that every graph has a single invisible 'Root' node that "holds" the graph in place and enable layout manipulations. As you might have guessed by now all the relations to this invisible 'Root' are also hidden.

The problem is that RouteAllArrows tries to refine all the relations (including the invisible ones) which take forever.

Is there an option to force an arrow to re-route itself on demand? This way I can ensure that only visible arrows are being re-routed.

Thanks in advance,

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Manual "RouteAllArrows"?
Reply #1 - Nov 28th, 2006 at 8:13am
Print Post  
Hi Dror,

Setting

arrow.AutoRoute = false;
arrow.AutoRoute = true;

is a way to re-route an arrow on demand  8)

Stoyan
  
Back to top
 
IP Logged
 
just2click
YaBB Newbies
*
Offline


Go Sharks Go

Posts: 16
Joined: Oct 11th, 2006
Re: Manual "RouteAllArrows"?
Reply #2 - Nov 28th, 2006 at 9:49am
Print Post  
Thanks Stoyo-man

This tip really got my application flying again.
The performance enhance is amzing!

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