UNPKG

tanuki-ui

Version:

HTML-first React component library with semantic elements, multi-OS themes, and production-ready visual node editor

14 lines (13 loc) 600 B
import { NodeEditorData, Node, NodeId } from './types/core'; export type { NodeId, ConnectionId, PortId, Position, Size, Port, Node, Connection, NodeEditorData, Viewport, GridSettings, } from './types/core'; export type { NodeEditorAction, } from './contexts/NodeEditorContext'; export type { PanState, NodeCanvasState, NodeCanvasAction, } from './contexts/NodeCanvasContext'; export type NodeEditorState = NodeEditorData; export type StandardNode = Node & { type: Exclude<string, "group">; }; export type GroupNode = Node & { type: "group"; children: NodeId[]; expanded: boolean; };