Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic diagarmView.behavior (Read 1183 times)
nick00
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 44
Joined: Nov 7th, 2008
diagarmView.behavior
Feb 2nd, 2009 at 6:25pm
Print Post  
I want allow users to select the nodes and link, but dont want to allow to move and delete links and nodes, I figured out how to avoid deletion, but dont know how to avoid moving of links and nodes.

I need selection functionality to know selected link connects to which nodes, in complex link structure.

thanks,
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: diagarmView.behavior
Reply #1 - Feb 2nd, 2009 at 7:58pm
Print Post  
One way to do that is call e.CancelDrag from the LinkModifying and NodeModifying event handlers, while Behavior is set to Modify.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint