Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Restrict Links to Bounds (Read 976 times)
rzanni
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 11
Joined: Mar 18th, 2009
Restrict Links to Bounds
Mar 26th, 2009 at 4:56pm
Print Post  
Hi,

I'm using RestrictItemsToBounds property for Nodes and it works great, but I'm having problems with the links going outside the document area.

How can I also restrict links to document bounds (inside only)

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Restrict Links to Bounds
Reply #1 - Mar 27th, 2009 at 7:39am
Print Post  
Hi,

Are you using auto-routed links? Seems sometimes their segments are placed exactly at the diagram boundaries. You could handle LinkRouted and move the points back a bit if you detect that X or Y for some point is <= diagram.Bounds.X/Y, or add a transparent obstacle node along each side of the diagram to repulse the links.

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