I'm writing an addon which allows for custom node sockets to be added to the inputs and outputs of node groups.
bl_space_type = 'NODE_EDITOR'
bl_region_type = 'UI'
With these tags, the panel appears in the shader node editor as wanted, but I would prefer to have the panel only display while editing a custom group, like the built-in panel for editing custom groups' sockets. How would I go about doing that?