Declarations can use the `add_input_output` method to create a combined input/output socket. The drawing code supports moving sockets up one vertical slot to align them with the predecessor. Closes #112235 Pull Request: https://projects.blender.org/blender/blender/pulls/112250