You can perform an automatic layout for selected connections.
1. Select the connections you want to include in the layout generation.
2. To select all connections, right-click on a connection and click on Select/Select all of this kind.
3. Click on Arrange/Layout.
4. Enter your settings and review the changes in the preview.
5. Click on OK.
The new layout for the selected connections is created, and anchor points on the source and target object are changed, if this enhances the layout.