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.
1 Like
Philipp, thx! 1/2 problem was solved. But need to switch off line breakers totally.
What do mean by line breakers?
yellow
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
Thank you for the response. I have searched and tried
additionalModules: [
gridSnapping: [ 'value', {} ]
]
but then I got this error:
Solution here: How to disable a feature?
1 Like