How to remove connection programmically?

I want to remove connection programmically with its id. Not clicking trash icon.
In the example: GitHub - bpmn-io/bpmn-js-example-custom-shapes: Creating custom elements in bpmn-js that live outside a BPMN 2.0 diagram.

Modeling#removeElements is your friend.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.