Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic how to restrict link header to node border ? (Read 2461 times)
jay
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 59
Joined: Feb 4th, 2009
how to restrict link header to node border ?
Feb 5th, 2009 at 6:12am
Print Post  
Hi,

   I have found that if a link is created, at its creation it points to destination node at its border.  But later on if user drags the link header inside the node, the link goes inside the node, and remains inside the node. I want to restrict this thing.
   I want that user should be able to drag or move link header but after movement in any direction the link header should only point to the border of node in that direction.
    How to do this ?

Thank you.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: how to restrict link header to node border ?
Reply #1 - Feb 5th, 2009 at 6:25am
Print Post  
Hi Jay,

link.setSnapToNodeBorder(true);

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
jay
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 59
Joined: Feb 4th, 2009
Re: how to restrict link header to node border ?
Reply #2 - Feb 5th, 2009 at 6:56am
Print Post  
hi stoyan,

             Thank you for reply, It worked...

Smiley
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint