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

display segment thumbs in orthogonal segment connectors

Thread ID:

Created:

Updated:

Platform:

Replies:

143401 Mar 19,2019 07:39 AM UTC Mar 21,2019 05:58 AM UTC React - EJ 2 1
loading
Tags: Diagram
Cheng Jiang
Asked On March 19, 2019 07:39 AM UTC

Hi, 
     I am using connectors in a diagram and I found that the segment thumbs are not displayed in a orthogonal segment connector whether it is selected or not. I even have enabled the DragSegmentThumb constraints. 
    How can the thumbs of segment be displayed like the pic in the attachment?


     Thanks 
          Cheng

Attachment: thumbs_9b205654.rar

Ramya Thirugnanam [Syncfusion]
Replied On March 21, 2019 05:58 AM UTC

Hi Cheng,  
  
Thanks for contacting Syncfusion support.  
  
Please inject ConnectorEditing in diagram and set DragSegmentThumb constraints in connector constraints to edit the segments of the connector. Please find below code example for how to set connector constraints.    
  
const connectors: ConnectorModel[] = [  
 
id: 'connector1', sourceID: 'node', targetID: 'node2', targetDecorator: { height: 5, width: 5 }, type: 'Orthogonal', constraints: ConnectorConstraints.Default | ConnectorConstraints.DragSegmentThumb  
},  
];  
  
  
  
  
  
For more details about module injection and segment editing, please refer to the below help documentation.   
  
  
  
Regards,   
Ramya T   


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.

Please sign in to access our forum

This page will automatically be redirected to the 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

;