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

ejDiagram port label

We would like to place labels to name the connector ports. Is there some easy way to do this with ejDiagram? We tried to put the labels on the connectors, however the positioning was horrible. 

Thank you for any suggestions
Desired look

3 Replies

KR Kameshwaran R Syncfusion Team January 26, 2016 04:46 AM UTC

Hi Marek,

Currently we don’t have option to set the labels to the ports of the node. However we will provide the below alternate solution to achieve your requirement.

Please try to set the labels on the nodes instead of connectors. We have created simple sample to achieve your requirement. Please find the below Playground link.

Link : http://jsplayground.syncfusion.com/4dubfitg 

Please let me know if you need further assistance.

Kameshwaran R.

MA Marek January 27, 2016 12:33 PM UTC

That works great, thank you! 
Another feature we did not found was the possibility to allow the user to move the ports by dragging them arround. Currently user is only allowed to move the connector by moving it to another port. Is there such functionality? Or how to achieve that? 

SG Shyam G Syncfusion Team January 28, 2016 04:05 PM UTC

Hi Marek,

Currently we don’t have support to drag the port. We have logged as a feature and created a new incident behalf of you related to this forum. We suggest you to follow up the incident for further reference using your direct trac account.

Shyam G

Live Chat Icon For mobile
Up arrow icon