Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Customizing showAnchors behavior (Read 192 times)
Aman Shaikh
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 6
Joined: Nov 9th, 2023
Customizing showAnchors behavior
Feb 21st, 2024 at 12:25pm
Print Post  
Hey, I'm using mindfusion js api version: 3.5.7

I wanted to know if it's possible to show anchors on hover and selected. currently when I set it as "Auto", it shows up when I hover over the node but not when I select it. I tried setting `diagram.setShowAnchors(6 as any);` hoping bit manipulation would work and both Auto and Selected will be applied, but no luck.

Thanks in advance.
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3156
Joined: Oct 19th, 2005
Re: Customizing showAnchors behavior
Reply #1 - Feb 21st, 2024 at 2:04pm
Print Post  
Hi,

That's supposed to be supported; setting Auto | Selected shows them correctly in our .NET diagram libraries, but apparently we've never implemented it in JavaScript version. Our developers will try to fix that for upcoming release.

Regards,
Slavcho
Mindfusion
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3156
Joined: Oct 19th, 2005
Re: Customizing showAnchors behavior
Reply #2 - Mar 7th, 2024 at 2:07pm
Print Post  
That's now supported by this build -
https://mindfusion.eu/_beta/jsdiag442.zip

Code
Select All
diagram.showAnchors = ShowAnchors.Selected | ShowAnchors.Auto; 


Regards,
Slavcho
Mindfusion
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint