Diagram generated using fluent API is not clean

I am using fluent API to create diagrams programmatically.
I am using below dependency in spring boot project

implementation group: ‘org.camunda.bpm.model’, name: ‘camunda-bpmn-model’, version: ‘7.20.0’

The diagram that gets generated like below:

What should be done to make outgoing arrows look neat(like below)?

@hassang @Ingo_Richtsmeier
Do you have any idea?

I referred to this post - FluentAPI Gateway Waypoints Issue - #2 by StephanHaarmann

The issue is resolved!