Alter Sequence flow waypoints


When we create 2 elements from gateway as shown in the attached diagram the 2 connections are overlapping. Is there any way to alter the sequence flow waypoints ?
I have gone through the source code could you please point where these waypoints are getting created for sequence flow.
Is that particular class/file/code feasible to override ?

please suggest


You can use your own algorithm for layout. The default one is Manhattan layout. It is used in BpmnLayouter.