Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic RouteAllLinks () (Read 4794 times)
maor
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 79
Joined: Mar 24th, 2009
RouteAllLinks ()
Mar 25th, 2009 at 8:54am
Print Post  
Hi,

I have diagram with links that cross shapes.
I tried to use RouteAllLinks (), but not sucessed...

(diagramLight.RouteAllLinks();)

Thanks


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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: RouteAllLinks ()
Reply #1 - Mar 25th, 2009 at 9:42am
Print Post  
Hi,

Are there any large nodes in the background? If yes, set their Obstacle property to false.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
maor
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 79
Joined: Mar 24th, 2009
Re: RouteAllLinks ()
Reply #2 - Mar 25th, 2009 at 9:45am
Print Post  
Hi,

I dont see Obstacle property in ShapeNode object.

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: RouteAllLinks ()
Reply #3 - Mar 25th, 2009 at 1:54pm
Print Post  
Hi,

This version adds the Obstacle property:
https://mindfusion.eu/_temp/diaglite_newprops.zip

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
maor
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 79
Joined: Mar 24th, 2009
Re: RouteAllLinks ()
Reply #4 - Mar 25th, 2009 at 2:27pm
Print Post  
Now i'm see the property.
set it to false, but the link is still cross shapes.

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: RouteAllLinks ()
Reply #5 - Mar 25th, 2009 at 2:49pm
Print Post  
You should set it to false only for background nodes if you are using ones, and not for all nodes in the diagram. If that's not the case, email us a saved diagram that shows the problem, and our developer will check what's the problem.

Stoyan
  
Back to top
 
IP Logged
 
maor
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 79
Joined: Mar 24th, 2009
Re: RouteAllLinks ()
Reply #6 - Mar 25th, 2009 at 2:56pm
Print Post  
Hi,

I forgot the 'diagramLight.RouteLinks = true;'.
Now its works..

Now , how i'm use RoutingOptions?


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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: RouteAllLinks ()
Reply #7 - Mar 25th, 2009 at 3:02pm
Print Post  
For example:

diagram.RoutingOptions.GridSize = 10;
diagram.RoutingOptions.CrossingCost = 20;

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