Embeddable workflow/agent builder foundation for web apps.
pnpm install
pnpm demo:web-componentThis launches the primary Reference App for the Web Component integration path.
- reusable workflow/agent builder runtime packages
Web Componentas the primary integration surfaceReactas a secondary host wrapper- a WASM kernel seam with a safe TypeScript fallback
- reference examples for embedding and runtime evaluation
- not a hosted collaboration product
- not a deployment control plane
- not a finished support / sales / ops SaaS
Support / sales / ops flows in this repository are reference domains, not the only intended domains.
Reference App—pnpm demo:web-componentPerformance Example—pnpm demo:performance-labReact Example—pnpm demo:react
Web Componentis the primary pathReactis a secondary host wrapper- benchmark fixtures for
100,500, and1000nodes are committed - the runtime keeps a clear
rust-wasmvstypescript-fallbackseam
For the OSS positioning and boundary details, see Open source model.
Use apps/demo-web-component when you want the clearest example of the primary embed path:
- constrained builder shell with a real stage plus side-panel config flow
- template-first starter flow inside the reference surface
- constrained add/remove controls for the supported approval and follow-up node families
- lightweight runtime feedback without evaluation-surface diagnostics
- representative
Web Component-first example withReactkept secondary
Use apps/performance-lab when you want to verify runtime behavior separately from the main reference surface:
- dedicated evaluation app instead of an in-page mode toggle
- fixture selector for
basic / 100 / 500 / 1000 - diagnostics for backend, kernel source, node count, edge count, zoom, and fallback reason
- explicit controls for
editability,rendererPreference, andkernelPreference - requested-vs-active runtime rows so forced preferences can be compared against what the engine actually resolved
- Supported heavy tiers with an explicit Experimental-editing opt-in
- benchmark-oriented runtime proof surface
Use apps/demo-react-host when the surrounding shell already lives in React and you want to see the secondary host wrapper in isolation.
Default state model:
Reference App: builder-firstbasicsurface with stage interaction, side-panel config, constrained add/remove, and lightweight runtime snapshotPerformance Example: proof-orientedfixture=100,editability=editable, full diagnostics
Evaluation guidance:
- compare
requestedandactiveruntime rows after changing renderer or kernel preferences - treat
Fallback visibleas a first-class result, not a hidden error - treat
500and1000as Supported navigation-first tiers unless you explicitly opt into Experimental editing - keep the public fixture promise bounded to
100 / 500 / 1000until heavier scenarios are explicitly validated
Recommended evaluation path:
- Start in
Performance Exampleand confirm the current renderer, kernel source, and fallback state. - Step through the public fixtures
100,500, and1000. - Compare
rendererPreferenceandkernelPreferenceinautoversus forced modes. - Confirm
500and1000enter the Supported read-only default by default, then enable Experimental editing only if you are intentionally probing beyond the trustworthy baseline. - Switch
editabilitytoread-onlyon lighter tiers if your target integration is a viewer rather than an editor.
The public example surfaces are intentionally split:
Reference App: trustworthy primary reference shell for thebasicgraph, with a stage, host-owned config panel, and constrained node actionsPerformance Example: diagnostics-forward runtime evaluation surface for fixture comparison and runtime preference evaluation
Current trustworthy baseline:
basic: product-oriented editable builder baseline100: lab-oriented editable baseline for interaction smoke and diagnostics comparison500 / 1000: public evaluation fixtures that default to the Supported read-only contract unless a host explicitly opts into Experimental editing
Near-term usage guidance:
- treat
Reference Appas the place to assess the builder shell, side-panel flow, and constrained host-owned mutations - treat
Performance Exampleas the place to assess runtime selection, fallback visibility, and heavier fixture behavior - treat
Reactas a supported secondary host wrapper when the surrounding product shell already lives in React - prefer template-first starter flows, host-controlled API wiring, and constrained add/remove seams over broad freeform editing promises when presenting the project publicly
For the full surface contract, see Public Surface Reliability.
Primary host:
Secondary host:
The React example exists to show shell-level integration support. It is not the primary reference surface.
Engine is strict, shell is flexible.
- The graph scene is treated as a rendering engine.
- Product teams are expected to customize shell, inspector, toolbar, theming, and host layout.
- Product teams are not expected to replace the graph hot path with arbitrary DOM-heavy node bodies.
pnpm install
pnpm bench:fixtures
pnpm typecheck
pnpm test
pnpm wasm:test
pnpm wasm:build
pnpm build
pnpm demo:web-componentIn another terminal:
pnpm demo:performance-labIn another terminal:
pnpm demo:reactIf wasm-pack is not installed yet, pnpm wasm:build will explain how to install it and the rest of the repo still runs on the TypeScript fallback path.
- Primary:
@minislively/workflow-element - Secondary:
@minislively/workflow-react - Supporting: shared types, engine, renderers, and wasm kernel packages
basic: product-oriented default graph100: light lab fixture500: Supported medium evaluation fixture with a read-only default1000: Supported heavy public viewing fixture with a read-only default
@minislively/workflow-types: shared protocol and graph types@minislively/workflow-core: graph helpers, hit testing, viewport math@minislively/workflow-wasm-core: TypeScript bridge plus Rust/WASM kernel seam@minislively/workflow-engine-worker: engine controller for worker and main-thread fallback@minislively/workflow-renderer-webgl: primary GPU renderer@minislively/workflow-renderer-canvas: fallback canvas renderer@minislively/workflow-editor-shell: shell theme tokens and styling contract@minislively/workflow-element: primaryWeb Componentintegration surface@minislively/workflow-react: secondary React wrapper@minislively/workflow-demo-support: reference-domain fixtures, diagnostics helpers, and demo metadata@minislively/workflow-nodepack-basic: minimal starter graph fixture and node catalog
- Architecture
- Open source model
- Public surface reliability
- Web Component adoption
- React host guidance
- Performance boundary
- Performance baseline
- Performance evaluation guide
- Contributing
- Release notes
- Launch post draft
MIT. See LICENSE.

