The Problem
The Node Context Menu currently contains options that are not always available, and misses some important entries for accesibility. Sorting and grouping is also not very intuitive and aligned with the rest of Blender:
Solution
This patch covers the following:
- Add operators to join and remove from frames.
- Add Insert into Group
- Sort and group entries more logically.
- Show group actions only on nodes that support it.
- Move all toggles to a sub-menu called Toggle.
- In the Compositor, show Node Preview under Toggle, even though not all nodes have a preview. Should this be shown in custom node trees?
- When nothing is selected, show Add menu, links actions, and paste.
Some more restrictions can be done but I think they should be done via poll in each operator.
Screenshots
When no nodes are selected:
When a node that can't be grouped is selected:
When a node group is selected:
When more than one node is selected, show link options:
Toggle menu:
Select menu:







