NodeGraphQt icon indicating copy to clipboard operation
NodeGraphQt copied to clipboard

Context menu on nodes within Group nodes not detecting node type

Open herronelou opened this issue 7 months ago • 1 comments

        # get the nodes menu.
        nodes_menu = graph.get_context_menu('nodes')
        # here we add override the context menu for "MyGroupNode".
        nodes_menu.add_command('Expand Group',
                               func=expand_group_node,
                               node_type='MyGroupNode')

Right clicking on a group node within the root level graph shows the expand command as expected, but in a nested Group, it doesn't.

Version 0.6.38

herronelou avatar Apr 09 '25 05:04 herronelou

And now I realize this is likely a feature request, as each group node has its own graph, which apparently do not inherit the menus.

herronelou avatar Apr 09 '25 07:04 herronelou