UNPKG

@selenite/graph-editor

Version:

A graph editor for visual programming, based on rete and svelte.

18 lines (17 loc) 468 B
import { Node, type NodeParams, type SocketsValues } from '../Node.svelte'; import { InputControl, type Socket } from '../../socket'; /** * This node displays the value of an input. */ export declare class DisplayNode extends Node<{ input: Socket<'any'>; }, {}, { display: InputControl<'text'>; }> { constructor(params?: NodeParams & { initial?: string; }); data(inputs?: { input: string; } | undefined): SocketsValues<{}>; }