Base class for representing data input nodes.
Constructor
new InputNode(value, nodeType?)| Parameter | Type | Default Value |
|---|---|---|
| value | any | — |
| nodeType? | null | string | null |
Constructs a new input node.
| Accessor | Type | |
|---|---|---|
| get type | string | |
Properties
| Property | Type | Default Value | |
|---|---|---|---|
| isInputNode | boolean | — | |
| value | any | — | |
| precision | null | "low" | "medium" | "high" | — | |
| Method | Type | |
|---|---|---|
| generateNodeType | () => null | string | |
| getInputType | (builder: NodeBuilder) => string | |
| setPrecision | (precision: "low" | "medium" | "high") => InputNode | |
| serialize | (data: any) => void | |
| deserialize | (data: any) => void | |
| generate | () => void | |
Extends
Node