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

How to disable multiselection of nodes, connectors, etc.


Could you please provide sample or code sample to disable multi selection of nodes, connectors, etc?
User should be able to select single node / connector at any moment from the diagram. We should be able to disable multi selection which can be achieved using following options:
  • Keyboard like Ctrl + A
  • Mouse like dragging across the diagram while pressing left button
  • Keyboard + Mouse i.e. Ctrl + Mouse tap on node
  • Context menu, etc.

Thanks and regards,


1 Reply

SC Saranya Chandrasekaran Syncfusion Team May 15, 2017 07:35 AM UTC

Hi Deepak, 
Disable multi selection of Nodes and Connectors. 
Your  requirement can be achieved by setting desired tool to the Tool property of the Diagram. We have provided code example to represent this. Please refer to the below code example. 
Code example: 
diagram.Tool = Tool.SingleSelect; 
Saranya C. 

Live Chat Icon For mobile
Up arrow icon