Select Nodes Recursively

We have a context menu entry “Select all Output Nodes” which selects the Nodes of the execution Pin.
I would like to have a feature that also selects all input nodes of these nodes.