A GraphNode is a container with several input and output slots allowing connections between GraphNodes. Slots can have different, incompatible types.
A GraphNode is a container defined by a title. It can have 1 or more input and output slots, which can be enabled (shown) or disabled (not shown) and have different (incompatible) types. Colors can also be assigned to slots. A tuple of input and output slots is defined for each GUI element included in the GraphNode. Input and output connections are left and right slots, but only enabled slots are counted as connections.
Disable all input and output slots of the GraphNode.
Disable input and output slot whose index is 'idx'.
Returns the color of the input connection 'idx'.
Returns the number of enabled input slots (connections) to the GraphNode.
Returns the position of the input connection 'idx'.
Returns the type of the input connection 'idx'.
Returns the color of the output connection 'idx'.
Returns the number of enabled output slots (connections) of the GraphNode.
Returns the position of the output connection 'idx'.
Returns the type of the output connection 'idx'.
Returns the color set to 'idx' left (input) slot.
Returns the color set to 'idx' right (output) slot.
Returns the (integer) type of left (input) 'idx' slot.
Returns the (integer) type of right (output) 'idx' slot.
Returns [code]true[/code] if left (input) slot 'idx' is enabled, [code]false[/code] otherwise.
Returns [code]true[/code] if right (output) slot 'idx' is enabled, [code]false[/code] otherwise.
- The offset of the GraphNode, relative to the scroll offset of the [GraphEdit]. Note that you cannot use position directly, as [GraphEdit] is a [Container].
Signal sent on closing the GraphNode.
Signal sent when the GraphNode is dragged.
Signal sent when the GraphNode is moved.
Signal sent when the GraphNode is requested to be displayed over other ones. Happens on focusing (clicking into) the GraphNode.