AbstractThe custom name for the node.
By default, names should be inferred from the GraphNodeReflection data. Only set this field if the name cannot or should not be inferred from reflection data.
The owning graph.
A map suitable for storing custom user-defined data.
Enables the node and its pins in the specified graph.
Gets the value that is connected to the input pin.
If the pin is not connected, the defaultValue is returned.
The pin type
The GraphPin or the name of the pin.
OptionaldefaultValue: ValueTypeOf<T>An optional default value. Default: undefined
The connected value, or if not connected the defaultValue.
Get either an input or output pin.
The internal field value used as automatic value storage for templated nodes.
Gets the connection for the next node that should be executed.
OptionalpinOrName: string | GraphPinThe pin name or reference that the execution will proceed from.
Gets the specified pin by name or id.
Returns all pins connected of the specified type.
Gets the value for the specified user data key. If the key does not exist the defaultValue will be
returned instead. If no defaultValue is specified, undefined is returned.
The user defined property or defaultValue if not defined.
Determines if this node is connected to the other node.
VirtualGets the name of the node as it should be displayed in the canvas.
Marks the node contents as changed and signals events.
VirtualInvoked when the node was cloned, invoked after invoking GraphPin.onClone.
VirtualCalled when the Graph is being enabled or when the node is added to the graph via Graph.addNode />
VirtualInvoked when the node is being executed to perform it's logica and return the next node to be executed in the control flow graph.
Override this method with your node's control-flow execution logic.
Implementing classes must call super.
Data that is calculated as part of the execution must be stored in the GraphExecutionState
that is available through the ControlFlowData.
Stored data must be returned for the corresponding input pin in onRequestValue.
VirtualInvoked when an inspectable field data was changed through the UI.
VirtualInvoked when a GraphPin was connected.
VirtualInvoked when a GraphPin was disconnected.
VirtualInvoked when the pin field data was changed through the UI.
Returns the value for the specified GraphPin.
Data from previous executions should be retrieved through the GraphExecutionState.
Invoked when serialization begins by the owning Graph.
Registers an outdated GraphConnection if it wasn't enabled during initialization. Outdated connections are attempted to be re-enabled during the call to enable
VirtualEnsures that the state of the node is valid.
The InputControlFlowNode class implements a ControlFlowNode that does not have the default control flow output pin.