workflow.basenode._constructor_.md
February 13, 2024 ยท View on GitHub
Home > @datashaper/workflow > BaseNode > (constructor)
BaseNode.(constructor)
Creates a new instance of the BaseNode
Signature:
constructor(inputs?: SocketName[], outputs?: SocketName[]);
Parameters
| Parameter | Type | Description |
|---|---|---|
| inputs | SocketName[] | (Optional) the input socket names |
| outputs | SocketName[] | (Optional) |