The 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 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 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.
VirtualRequests the value associated with the given pin.
The GraphPin for whom the data is requested.
THhe GraphExecutionState state containing the execution data.
The pin data.
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 GraphNode class represents a base-class of a node in a Graph. It contains GraphPin instances that can be connected to other nodes. The node can be enabled in a graph by calling Graph.addNode. The node can be disabled by calling Graph.removeNode.
Typically, subclasses are required to add actual functionality to the graph, such as executing logic or processing data.