Re-implemented Backdrop Node

This commit is contained in:
2025-02-12 23:25:02 -07:00
parent ca5152b89a
commit 9c2e287b72
19 changed files with 784 additions and 35 deletions

21
Nodes/group_node.py Normal file
View File

@ -0,0 +1,21 @@
from OdenGraphQt import GroupNode
class MyGroupNode(GroupNode):
"""
example test group node with a in port and out port.
"""
# set a unique node identifier.
__identifier__ = 'nodes.group'
# set the initial default node name.
NODE_NAME = 'group node'
def __init__(self):
super(MyGroupNode, self).__init__()
self.set_color(50, 8, 25)
# create input and output port.
self.add_input('in')
self.add_output('out')