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