I have requirements that for connected elements in a BPMN diagram, sequenceFlow lines should be diagonal, instead of bent at 90 degrees.
Instead of this:
to be like this
Right now you can obtain this by dragging on the bendpoints, but I’d like to be a default, when connecting shapes.
I’ve read the answers from here Disable Connection Layouting / Direct Lines
but I don’t exactly understand how to do it.
I don’t know where exactly to import these modules from:
The purpose of this fragment of code is to disable the bendpoints feature, i.e. to make it impossible to change connection’s shape. It does not transform the connections into straight lines.