When the diagram is very large and has a lot of elements, if I need to adjust the targetRef or sourceRef of the SequenceFlow, dragging and dropping is a waste.
I implemented an optional operation by extending the bpmn-properties-panel.
Screenshots are as follows:
The main ideas are:
1.extend the properties panel for sequenceflow element;
2.elementRegistry.filter(e=>return bpmnRules.canConnect(source, target, connection));
3.modeling.reconnectStart() and modeling.reconnectEnd()