You can drag on a connection line to break and recreate a connection.
Reconnecting an input to a different output
- Drag on a connection line from the output side to disconnect it, and reconnect it to a different output.
Reconnecting an output to a different input
- Drag on a connection line from the input side to disconnect it, and reconnect it to a different input.