Disable Connection Layouting / Direct Lines


How to customize line to avoid line breakers? Need only start point and end point of the line. With minimum actions.


bpmn-js uses Manhattan layout. You have to modify BpmnLayouter in order to get straight lines as it is done already for associations.


Philipp, thx! 1/2 problem was solved. But need to switch off line breakers totally.


What do mean by line breakers?





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

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