Customize Node Selection / Resize Thumbs

Is it possible to:
  1. Make the resize thumbs around a node smaller?
  2. Remove the rotation thumb (node rotate constraint has been disabled but the greyed-out thumb still appears)?

Attachment: thumbs_2eccfb6b.zip

1 Reply 1 reply marked as answer

AR Aravind Ravi Syncfusion Team November 20, 2020 04:13 AM UTC

Hi Dsoftware, 
 
Please find the response for queries in below table 
 
Make the resize thumbs around a node smaller? 
 
No, it is not possible to make the resize thumbs smaller. We can able to hide or show the resize thumbs for node. But We cannot able to make the thumb smaller.  
Remove the rotation thumb (node rotate constraint has been disabled but the greyed-out thumb still appears)? 
Yes, by using the selector constraints we can able to hide the rotator for the nodes. To show only resize thumbs for node, set SelectorConstraints as Resizer. So that rotator does not gets visible for the nodes. 
 
$("#diagram").ejDiagram({ 
                    width: "100%", 
                    height: "600px", 
                    nodes: nodes, 
                    pageSettings: { scrollLimit: "diagram" }, 
                  selectedItems: { constraints: ej.datavisualization.Diagram.SelectorConstraints.Resizer }, 
                     
                    connectors: connectors, 
                   
                  
                }); 
 
 
 
Regards 
Aravind Ravi 


Marked as answer
Loader.
Up arrow icon