Don't know if this is a bug, or the intent, but it's certainly making things non-intuitive...
Process a list of iterators
Use "Is Point within Layer", or "Is Within Rectangle" in conjunction with "Get Rendered Layer Bounds"
Seems to calculate the point as being within each layer if it happens to be only within the first one in the list
See attached composition, or this video. Mouse over the text.
The background layer is red with "Get Layer Bounds" and "Is within Rectangle" is true.
The background layer is green with "Get Rendered Layer Bounds" and "Is within Rectangle" is true.
The background layer is blue with "Is Point within Layer" is true.
Red works on all three layers. Green and blue are there to show the bug.
Have you found a workaround?:
Using "Get Layer Bounds" and "Is within Rectangle" does the trick.
I was thinking a cue that would be visible only when a collapse is possible, such as in the case of having only one input and output, or having only one input or output connected to cables.
Maybe the cue could be clickable to trigger the collapse without requiring a contextual menu, and maybe the cue could be crossed out or greyed out if something occurs to make it uncollapsable.