The connection line is the line that gets drawn while you connect two nodes with each other.
You can adjust the connection line by using the props documented in the connection line options section. If you want to implement a custom connection line, you can pass a React component to the
connectionLineComponent prop. The connection line component will receive the following props:
Connection Line Component Props
You can find an implementation in the custom connection line example.