@selenite/graph-editor
Version:
A graph editor for visual programming, based on rete and svelte.
9 lines (8 loc) • 311 B
TypeScript
import { Node } from './Node.svelte';
import type { Socket } from '../socket';
type NodeTypes = {
inputs: Record<string, Socket>;
outputs: Record<string, Socket>;
};
export declare function getLeavesFromOutput<T extends NodeTypes>(node: Node<T['inputs'], T['outputs']>, key: string): Node[];
export {};