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

ParameterTypeDescription
inputsSocketName[](Optional) the input socket names
outputsSocketName[](Optional)

Contents

  1. 1BaseNode.(constructor)
  2. 2Parameters