Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Disable re-sizing of shapes (Read 3860 times)
Kiran B
Full Member
***
Offline


I Love MindFusion!

Posts: 102
Joined: Apr 19th, 2013
Disable re-sizing of shapes
Dec 13th, 2013 at 9:07am
Print Post  
Hi,

Is there any way to avoid re-sizing of a node? But links drawing and movement of nodes should not be disabled.

Thanks
Kiran B
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Disable re-sizing of shapes
Reply #1 - Dec 13th, 2013 at 9:24am
Print Post  
Hi,

Call node.setEnabledHandles(AdjustmentHandles.Move);

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Kiran B
Full Member
***
Offline


I Love MindFusion!

Posts: 102
Joined: Apr 19th, 2013
Re: Disable re-sizing of shapes
Reply #2 - Dec 16th, 2013 at 10:51am
Print Post  
Hi Stoyan,


We are getting the below error

Uncaught ReferenceError: AdjustmentHandles is not defined


Thanks
Kiran B
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Disable re-sizing of shapes
Reply #3 - Dec 16th, 2013 at 10:59am
Print Post  
Hi,

Add the following line or use fully qualified name:

Code
Select All
var AdjustmentHandles = MindFusion.Diagramming.AdjustmentHandles; 



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