I have given this some thought over the years. I would love to see nodes have more capabilities including better UI when having both input/output AND buttons.
Clearly, the current design makes this look awful (wires passing through the buttons - yuk) but I'd love to see it addressed with a UI refresh.
One way of supporting this would be a node redesign () with the buttons moved internal to the node body, permitting input/output wires to connect to the edges without overlapping the buttons. Another solution would be context menu or hover popover to provide access to the button(s) when an input/output port also exists (but this is much less friendly/intuitive)
There is another school of thought: asked several times over the years - is all nodes having a "mute" and/or "passthru" capability. I.e. a means of simply turning off the messages or bypassing internal logic processing. Having this "passthru" capability would simplify the design of an inline debug. Having this "mute" capability would also be a neat way of handling the age old question "how to I stop messages passing through a node"