UNPKG

@selenite/graph-editor

Version:

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

13 lines (12 loc) 355 B
import type { Connection, GraphNode } from '../nodes'; import { XmlSchema, type SaveData } from '@selenite/commons'; export type WorkerMessage = { type: 'xmlToGraph'; xml: string; schema: SaveData<XmlSchema>; }; export type WorkerResult = { type: 'xmlToGraph'; nodes: SaveData<GraphNode>[]; connections: SaveData<Connection>[]; };