You can drag on a connection line to break and recreate a connection.
Reconnecting an input to a different output

Reconnecting an output to a different input
 Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License
 Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License