Abstract 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.
VirtualTo enable custom invocation for your Graph during code generation this function must return true.
true if your class implemented a custom invocation.
AbstractisVirtualDetermines if the Graph is being invoked during code generation to emit it's function body. If this function returns false emitCode will not be invoked.
A map suitable for storing custom user-defined data.
VirtualThis function emits the graph's function header and body.
The evaluation context.
VirtualGraph function invocation during code generation follows language specified rules. Typically a method is being invoked in c-style. This can require emitting temporaries and other variables. In certain cases Graphs might have to override the nvocation model to implement specific behavior.
Implement this function in your child class to fully control the code generation for your Graph. To enable your custom invocation during code generation override isCustomInvocationRequired to return true.
The evaluation context.
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.
Emits the invocation for the node.
The evaluation context.
The symbol name.
VirtualEmits the invocation for the node.
The evaluation context.
The symbol name.
VirtualEmits the code.
The evaluation context.
The symbol name.
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.
VirtualVisits the node during code generation to determine if temporaries are required.
The evaluation context.
ProtectedonVirtualVisits the node's input pins during code generation to determine if temporaries are required.
The evaluation context.
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 CodeGeneratingGraphNode implements a GraphNode that emits code when visited.