Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Make links snap to anchorpoint? (Read 2264 times)
consolejoker
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 74
Joined: Dec 17th, 2007
Make links snap to anchorpoint?
Mar 20th, 2008 at 9:00pm
Print Post  
I have links connecting and being handled through ValidateAnchorPoint. However they seem to connect to anywhere on the node, they don't snap to and path themselves around the node and directly to the anchor point.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Make links snap to anchorpoint?
Reply #1 - Mar 21st, 2008 at 10:35am
Print Post  
By default links snap to anchor points only when they are created. Change SnapToAnchor to OnCreateOrModify to have the links snap also when they are moved to a different node. Additionally, check your ValidateAnchorPoint handler - if it sets Cancel = true for all anchor points, the link will just connect itself to any point on the node borders.

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


I love YaBB 1G - SP1!

Posts: 74
Joined: Dec 17th, 2007
Re: Make links snap to anchorpoint?
Reply #2 - Mar 24th, 2008 at 5:48pm
Print Post  
It's not snapping to the anchor on create or on modify.
  
Back to top
 
IP Logged
 
consolejoker
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 74
Joined: Dec 17th, 2007
Re: Make links snap to anchorpoint?
Reply #3 - Mar 24th, 2008 at 6:06pm
Print Post  
Oh wait my bad. I had AnchorPoint.AllowIncoming = false; That would do it Smiley
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint