Connecting nodes (inputs and outputs)