Attaching an example reusing the two rectangles of your file, the connector redrawn (orthogonal, with curvature r=50), as well as a new diagram using orthogonal connectors with curvature (r=50) and spacing (d=10).
Attaching an example reusing the two rectangles of your file, the connector redrawn (orthogonal, with curvature r=50), as well as a new diagram using orthogonal connectors with curvature (r=50) and spacing (d=10).