"use client"; import { memo } from "react"; import { NodeProps } from "reactflow"; import { Paper, Stack } from "@mui/material"; import { WorkflowPluginDefinition } from "../../lib/types"; import NodeHeader from "./NodeHeader"; import NodeBody from "./NodeBody"; import NodePorts from "./NodePorts"; export type WorkflowNodeData = { label: string; type: string; inputs: Record; outputs: Record; plugin: WorkflowPluginDefinition; t: (key: string, fallback?: string) => string; }; function WorkflowNode({ data, selected }: NodeProps) { const { label, type, plugin, t } = data; const inputPorts = plugin.inputs || []; const outputPorts = plugin.outputs || []; return ( ); } export default memo(WorkflowNode);