UNPKG

@selenite/graph-editor

Version:

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

6 lines (5 loc) 349 B
import { type CurveFactory } from 'd3-shape'; export declare const connectionPathTypes: readonly ["curve", "monotone", "linear", "step"]; export type ConnectionPathType = (typeof connectionPathTypes)[number]; export declare const defaultConnectionPath = "curve"; export declare function assignConnectionPath(type: ConnectionPathType): CurveFactory;