We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Unable to remove the greyed out(disabled) selection preview on select of nodes after the functionality is locked

Hi,

We have locked the resize functionality but on select of the nodes the circular sections as in screenshot below are displayed. Can we remove this and display plain border on select of nodes?
Regards,
Sudhanshu

1 Reply

SG Shyam G Syncfusion Team February 11, 2020 09:46 AM UTC

Hi Sudhanshu, 

To remove the resizer(grey colored circle) and rotator in the nodes, we should remove the SelectorConstraints ResizeAll and Rotate from the Default. Please refer to a code example and the sample below. 
 
Code example: 
<DiagramComponent id="diagram" width={"100%"} height={"700px"} nodes={nodes} connectors={connectors} 
              //remove resizer and rotate 
              selectedItems={{ 
                constraints: SelectorConstraints.All &~(SelectorConstraints.ResizeAll | SelectorConstraints.Rotate), 
              }} 
               /> 
 
 

Regards, 
Shyam G 


Loader.
Up arrow icon