Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic How to prevent mouse causing link node handles (Read 3001 times)
Al
Junior Member
**
Offline


I Love MindFusion!

Posts: 56
Joined: Sep 3rd, 2014
How to prevent mouse causing link node handles
Nov 4th, 2014 at 1:55pm
Print Post  
Hi,

I am using

Code (Javascript)
Select All
diagram.setBehavior(Behavior.DoNothing);
 



But when I move my mouse over an element I still get link handles showing, is there something else I need to set?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: How to prevent mouse causing link node handles
Reply #1 - Nov 4th, 2014 at 2:09pm
Print Post  
Hi,

They are probably showing because of the ModificationStart property, set it to SelectedOnly:
Code
Select All
diagram.setModificationStart(ModificationStart.SelectedOnly); 



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


I Love MindFusion!

Posts: 56
Joined: Sep 3rd, 2014
Re: How to prevent mouse causing link node handles
Reply #2 - Nov 4th, 2014 at 2:30pm
Print Post  
Thanks Stoyan, that didn't make any difference. I have attached a screenshot to show what I mean
  

mindfusion_001.png (Attachment deleted)
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: How to prevent mouse causing link node handles
Reply #3 - Nov 4th, 2014 at 2:35pm
Print Post  
Set the ShowAnchors property to Never or Selected:

Code
Select All
diagram.setShowAnchors(ShowAnchors.Never); 



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


I Love MindFusion!

Posts: 56
Joined: Sep 3rd, 2014
Re: How to prevent mouse causing link node handles
Reply #4 - Nov 4th, 2014 at 2:42pm
Print Post  
That was it, thanks Stoyan.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint