Disable Connection Layouting / Direct Lines

You can disable the bendpoints feature by overriding it with an empty module.

new BpmnJS({
  additionalModules: [
    bendpoints: [ 'value', {} ],
    bendpointMove: [ 'value', {} ],
    connectionSegmentMove: [ 'value', {} ],
    bendpointSnapping: [ 'value', {} ]
  ]
});
1 Like