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.
Unfortunately, activation email could not send to your email. Please try again.

User Handles Connector

Thread ID:

Created:

Updated:

Platform:

Replies:

130478 May 15,2017 08:44 AM May 25,2017 12:39 AM JavaScript 5
loading
Tags: ejDiagram
Manuel
Asked On May 15, 2017 08:44 AM

Hi
is it possible to create a connector with the user handle where the source point of the connector is the source shape

So if I click on the user handle at"Manufacturing Tablet PC" the user only needs to select the target shape (for example "Single Sim Projection Added") to create connection between "Manufacturing..." --> "single sim..."
Kind Regards
Manuel

Attachment: example_cd999163.zip

Shyam G [Syncfusion]
Replied On May 16, 2017 08:39 AM

Hi Manuel, 
 
We have modified your sample in which you can click on the node user handle and select the target shape to establish the connection.  
 
 
In the above sample, please look into the diagram.js file in which we have created a link tool user handle. Also we have used diagram click event to establish the connection between sourceNode and targetNode. 
 
Regards, 
Shyam G 


Manuel
Replied On May 17, 2017 04:32 AM

Hi Shyam,

thanks for your support.

1. Is it possible that all ports stay visible after I click on the user handle?
2. Is it possible to use the StraightLineTool instead of the OrthogonalLineTool?
3. If I select a connection the Line user handle shouldn't be visibible. How can I disable/  hide the Line user handle for specific objects?


Regards
Manuel 


Shyam G [Syncfusion]
Replied On May 18, 2017 03:31 AM

Hi Manuel, 
 
Query 
Response 
Is it possible that all ports stay visible after I click on the user handle? 
We have shown ports for all the nodes while clicking the link user handle. Also we have hidden the ports once the connection is established. Please refer to the sample below. 
Is it possible to use the StraightLineTool instead of the OrthogonalLineTool? 
We have changed the connector to straightLine in linktool and also while adding the connectors using add method. Please refer to the sample below 
 If I select a connection the Line user handle shouldn't be visibible. How can I disable/  hide the Line user handle for specific objects? 
We have hidden the connector’s user handles in the selectionChange event. We have defined this event in the diagram.js file in your sample. Please refer to the sample below. 
 
 
Regards, 
Shyam G 


Manuel
Replied On May 24, 2017 08:48 AM

Thanks  a lot!

Shyam G [Syncfusion]
Replied On May 25, 2017 12:39 AM

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


CONFIRMATION

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.

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.

;