Automatically layout BPMN diagram on import

It has graphical information but it has untidy connections. Every connection has only two (start and end) way-points.

When we move an element, bpmnjs tries to improve the way other elements connect to that element (by changing its connection’s way-points after we drop the element I guess).

Is there any way we can do that on all connections? (for example after loading)