Add input and output management for graph nodes