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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Change options displayed on Node selection

Thread ID:





130996 Jun 15,2017 09:15 AM UTC Jun 19,2017 03:50 AM UTC ASP.NET MVC 3
Tags: Diagram
indrani Gajjarapu
Asked On June 15, 2017 09:15 AM UTC


I don't want the line symbol when a node is selected. How can I manage the options appeared (Clone, Property window, Line bridging) on node selection.

Thank you.

Shyam G [Syncfusion]
Replied On June 16, 2017 11:36 AM UTC

Hi Indrani, 
Please confirm us whether you need to hide the line tool userhandles while selecting the node. If yes, please use selectionChange event in which you can hide the line tool userhandles. If we misunderstood your requirement, please provide us more details such as explain your requirement in detail with screenshot. Please refer to the code example below. 
Code  example: 
DiagramProperties model = new DiagramProperties(); 
//define selectionchange event 
model.SelectionChange = "selectionchange"; 
function selectionchange(args) {         
        if (args.state === "changed") { 
       if (args.model.selectedItems.userHandles.length > 0) { 
                for (var i = 0; i < args.model.selectedItems.userHandles.length; i++) { 
                    var handle = args.model.selectedItems.userHandles[i]; 
                  //hide the user handle 
                    handle.visible = false; 
                   //Based on your condition you can hide the userhandle 
Shyam G 

indrani Gajjarapu
Replied On June 16, 2017 11:38 AM UTC

Hi Shyam,

Thanks for your response.

That's perfect!!. Thank you

Shyam G [Syncfusion]
Replied On June 19, 2017 03:50 AM UTC

Hi Indrani, 
Please let us know if you need further assistance on this. 
Shyam G 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon