In some nodes you can hide the pins that are unused. but in materials these are non existant.
I won’t list all the nodes that could use this but one that really gets ugly is used with landscape materials that gets very cluttering.
the node is BreakMaterialAttributes if we could collapse nodes like this would be very good for fixing spaghetti mess in materials
Thankyou for considering this feature!