Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Auto Reroute node distance (Read 1268 times)
Devon
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 7
Joined: Apr 13th, 2011
Auto Reroute node distance
May 11th, 2011 at 6:06pm
Print Post  
Hi,

Currently it's rerouting the links a good distance from the node I am moving.  I'm using quick route and have set it to only reroute when intersecting a node.  Is there a way to make it so the distance that triggers the reroute is right up against the nodes boarders?  I have looked through the properties and couldn't find anything that effected this(I probably just overlooked it).
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Auto Reroute node distance
Reply #1 - May 11th, 2011 at 7:21pm
Print Post  
Hi,

Indeed the auto-routing method only checks if the rectangle that bounds all link points intersects the node's bounding rectangle. If you need to reroute links only when they really intersect a node, disable auto-routing, collect the links for which Intersects(e.Node) returns true from NodeModified or NodeCreated, and then call diagram.LinkRouter.RouteLinks() to reroute them.

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