The default value of the variable.
The Graph that owns the variable.
ReadonlyidThe UUID of the variable.
Determines if the variable will be modifiable when inspecting the resource.
The name of the variable.
To change the name of a registered variable, use Graph.renameVariable.
The GraphType of the variable.
The GraphType itself is not serializable as it's identity must be globally unique. To solve this issue, the system serializes the system type via the _systemType field. Once the variable is deserialized or cloned, the GraphType is reconstructed at runtime.
Clones this instance.
VirtualInvoked when the variable was added to graph or after deserialized.
VirtualInvoked before the variable is removed from a Graph.
Sets the type of the variable and assigns a new default value.
If the defaultValue is not specified or undefined, a default value will be constructed.
The new type.
OptionaldefaultValue: anyVirtualEnsures that the state of the node is valid.
The GraphVariable class implements a (local) variable within a Graph. It can be visible and editable only within the graph, or if set to public, also editable from outside.