VSOutputNode constructor

VSOutputNode({
  1. required String type,
  2. required Offset widgetOffset,
  3. VSOutputData? ref,
  4. String? title,
  5. String? toolTip,
  6. String? inputTitle,
  7. dynamic onUpdatedConnection(
    1. VSInputData interfaceData
    )?,
})

Output Node

Used to traverse the node tree and evalutate them to a result

Implementation

VSOutputNode({
  required String type,
  required Offset widgetOffset,
  VSOutputData? ref,
  String? title,
  String? toolTip,
  String? inputTitle,
  Function(VSInputData interfaceData)? onUpdatedConnection,
}) : super(
        type: type,
        widgetOffset: widgetOffset,
        inputData: [
          VSDynamicInputData(
            type: type,
            title: inputTitle,
            initialConnection: ref,
          )
        ],
        outputData: const [],
        title: title,
        toolTip: toolTip,
        onUpdatedConnection: onUpdatedConnection,
      );