Skip to content

Latest commit

 

History

History
55 lines (38 loc) · 1.87 KB

File metadata and controls

55 lines (38 loc) · 1.87 KB

workflow-editor

🎨 Visual editor for the GoCodeAlone/workflow engine.

License npm

Standalone npm package providing a visual workflow editor: 14 node types, 9 edge types, a ReactFlow canvas, property panel, node palette, toolbar, serialization, and auto-layout. Used by workflow-vscode, workflow-jetbrains, and embeddable in any TypeScript/React host.

What it provides

  • WorkflowCanvas — ReactFlow-based visual canvas
  • PropertyPanel — type-specific node configuration
  • NodePalette — drag-and-drop palette across all 90+ module types
  • Toolbar — load, save, validate, deploy
  • Serialization — YAML ↔ graph round-trip
  • autoLayout — automatic graph layout
  • Zustand storesloadSchemas() / loadPluginSchemas() for host injection

Install

npm install @gocodealone/workflow-editor
import { WorkflowCanvas, useWorkflowStore } from '@gocodealone/workflow-editor';

Local development

git clone https://github.com/GoCodeAlone/workflow-editor.git
cd workflow-editor
npm install
npm run dev
npm test

Build: npm run build (Vite library mode).

Documentation

CI

  • publish.yml — tag → build → publish → dispatch editor-release
  • sync-schema.yml — workflow-release → update types

License

MIT. See LICENSE.