Hidden ChildrenThe 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.
The ID.
The input pins.
The output pins.
A map suitable for storing custom user-defined data.
Removes all connections to this node.
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.
Iterates all connections to pins of this node. First input pins are iterated over, then output pins.
Virtual
Gets the name of the node as it should be displayed in the canvas.
Marks the node contents as changed and signals events.
Called when the node has been instanced and is about to be added to a graph. This is a good place to initialize the default values for the node pins as it will then not be done during deserialization, which might otherwise discard newly instances values immediately.
Virtual
Called when the Graph is being enabled or when the node is added to the graph via Graph#addNode />
Virtual
Invoked when an inspectable field data was changed through the UI.
Virtual
Invoked when a GraphPin was connected.
Virtual
Invoked when a GraphPin was disconnected.
Virtual
Invoked when the pin field data was changed through the UI.
Called before the node is removed from a graph.
Virtual
Requests 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
Removes the user data key.
Sets the user data key to the specified value.
A key that uniquely identifies the property to be defined.
The value to set the property to. The value type must support serialization.
Synchronizes the node pins with the reflection data by adding missing pins and removing superfluous pins on the node.
Returns a string representation of an object.
Virtual
Ensures that the state of the node is valid.
Invokes the callback while prevent events to be dispatched.
The CarbonExpression class implements a base class for an expression usable in a CarbonGraph.