Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Arrow Routing (Read 2080 times)
vk23942
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 16
Joined: Oct 18th, 2007
Arrow Routing
Oct 19th, 2007 at 9:26am
Print Post  
Hi,
Arrow rerouting is not giving me the desired result. I am using the arrow style as Polyline and after creatign a diagram then I move a box deliberately from one location to another location so that arrows are now crossing over the boxes. Finally I call RouteAllArrows on the server, still it does not give me the desired resullt. Our requirement is arrow should not cross over the box and should connect in a straight line even though it may not be the shortest path.

Regards,

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Arrow Routing
Reply #1 - Oct 19th, 2007 at 9:42am
Print Post  
Hi,

If you use some boxes as background decorations, set their Obstacle property to false. For best results make sure the boxes are at a distance at least 3 * RoutingOptions.GridSize from each other. If you do not care about the link length, set the RoutingOptions.LengthCost to 0 and then the routing function will considere only the other criteria.

You might play with the RoutingOptions settings using the Routing sample project. By the way, at this time the RoutingOptions values are not transferred between the server and the client.

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