/** * FlowDrop - Visual Workflow Editor Library * * A Svelte 5 component library built on @xyflow/svelte for creating node-based workflow editors. * * ## Module Structure (Tree-Shakable) * * For optimal bundle size, import from specific sub-modules: * * - `@flowdrop/flowdrop/core` - Types and utilities only (no heavy deps) * - `@flowdrop/flowdrop/editor` - WorkflowEditor with @xyflow/svelte * - `@flowdrop/flowdrop/form` - SchemaForm with basic fields * - `@flowdrop/flowdrop/form/code` - Code editor support (adds CodeMirror) * - `@flowdrop/flowdrop/form/markdown` - Markdown editor support (CodeMirror 6) * - `@flowdrop/flowdrop/display` - MarkdownDisplay (adds marked) * - `@flowdrop/flowdrop/playground` - Playground for interactive workflow testing * - `@flowdrop/flowdrop/styles` - CSS styles * * ## Legacy Import (Full Bundle) * * Importing from the main entry point includes everything: * * ```typescript * import { WorkflowEditor, SchemaForm } from "@flowdrop/flowdrop"; * ``` * * **Note**: This will bundle ALL dependencies including @xyflow/svelte, * CodeMirror and marked. For smaller bundles, use sub-modules. * * @module flowdrop */ export * from './core/index.js'; export * from './form/index.js'; export * from './display/index.js'; export * from './playground/index.js'; export * from './editor/index.js'; export * from './settings/index.js';