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
close icon

Is there a way to deactivate the orthogonal tool by simply clicking on white space?


I love the orthogonal tool, but once I've finished connecting my shapes I have to go back to my toolbar and select the pointer which results in a diagram.deactivateTool().
What we'd like to be able to do is simply click anywhere in the white-space of the diagram and have the tool deactivate.

Is this possible?

Many thanks for any suggestions or code snippets.


1 Reply

KR Kameshwaran R Syncfusion Team February 5, 2015 10:41 AM UTC

Hi Jim,

Thanks for your interest in Syncfusion product.

We suggest you to use the overload method of activateTool which automatically deactivates the orthogonal tool once the connector is created. We have created the simple sample to demonstrate this and sample can be downloaded from the below link.

Here is the code snippet.

diagram.activateTool("orthogonalLine", true);

Here is the sample.


Please let me know if you have any quires.


Kameshwaran R.


Live Chat Icon For mobile
Up arrow icon