UNPKG

@selenite/graph-editor

Version:

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

14 lines (13 loc) 545 B
import { Node } from '../Node.svelte'; import type { NodeFactory } from '../../editor'; export declare class EveryNode extends Node { current: number; constructor({ count, factory }: { count?: number; factory: NodeFactory; }); isFlowing(): boolean; data(inputs?: Record<string, unknown> | undefined): Record<string, unknown> | Promise<Record<string, unknown>>; execute(input: string, forward: (output: string) => unknown, forwardExec?: boolean): Promise<void>; getNaturalFlow(): string | undefined; }