Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Dynamic RoutingOptions.GridSize? (Read 1989 times)
Kim Lillås
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 26
Joined: Aug 18th, 2016
Dynamic RoutingOptions.GridSize?
Oct 18th, 2016 at 7:10am
Print Post  
Hello,

I am fiddling around with some routing optimization, the problem I am facing now is that a larger RoutingOptions.GridSize gives a small waiting time and acceptable routings for links which travel a large distance, but the routing might fail if I link two nodes which are very close to each other.

I was thinking of a dynamic GridSize based on the distance between nodes to fix this, does this make sense or am I looking in the wrong direction? Is this per default supported in the diagramming component, or do I have to add it manually?

Greetings,
Kim
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3147
Joined: Oct 19th, 2005
Re: Dynamic RoutingOptions.GridSize?
Reply #1 - Oct 18th, 2016 at 9:24am
Print Post  
Hi Kim,

There's no built-in dynamic grid size. If you are generating the diagram programmatically, you could make sure your nodes are placed at least at twice the grid-size distance, or otherwise find the min. distance between nodes and set grid-size to half of it so that grid squares between min-distance nodes are not marked as obstacles.

FYI GridRouter runs standard A* search algorithm; you can see how it traverses the grid in animated image here -
https://en.wikipedia.org/wiki/A*_search_algorithm

Regards,
Slavcho
Mindfusion
  
Back to top
 
IP Logged
 
Kim Lillås
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 26
Joined: Aug 18th, 2016
Re: Dynamic RoutingOptions.GridSize?
Reply #2 - Oct 18th, 2016 at 10:34am
Print Post  
Thanks!
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint