UNPKG

@selenite/graph-editor

Version:

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

8 lines (7 loc) 367 B
import type { SocketType } from '../plugins/typed-sockets'; import { Socket, type InputControlType } from '../socket'; export declare const colorMap: { [key in SocketType]?: string; }; export declare function assignColor(s: Socket): string; export declare function assignControl(socketType: SocketType, default_?: InputControlType): InputControlType | undefined;