Process Editor

A standalone visual BPMN editor for defining insurance process flows that produces BPMN XML and MachineSpec v2 JSON definitions.

Try the Live Demo View on GitHub


Features

  • Visual BPMN Editor: Browser-based modeler with restricted BPMN subset
  • Insurance Process Support: Custom metadata for states, events, timers, guards, and actions
  • Real-time Validation: Live linting with custom rules for process integrity
  • Dual Export: Generate both BPMN XML and MachineSpec v2 JSON
  • Bundle Export: ZIP packages with BPMN, JSON, and manifest with SHA256 hashes
  • Auto-save: Work is preserved across browser reloads
  • Self-contained: No backend required, runs entirely in the browser

Quick Start

Try the Live Demo

The easiest way to get started is to try our live demo hosted on GitHub Pages.

Local Development

1
2
3
4
5
6
7
8
9
10
11
# Clone the repository
git clone https://github.com/etherisc/bpmn-studio.git
cd bpmn-studio

# Install dependencies
pnpm install

# Start development server
pnpm run dev

# Open http://localhost:3000

Supported BPMN Elements

Element Use Notes
Start Event Process entry point Visual only, exactly one per diagram
Task Represents a state Must have data-state-name
End Event Terminal state No outgoing flows allowed
Sequence Flow Transition Must have data-event
Boundary Timer Timer on a state Must have data-event and ISO duration/date
Lane Responsibility lane Optional, maps to metadata

All other BPMN elements are blocked and will trigger validation errors.

Architecture Overview

The Process Editor is built with:

  • Frontend: TypeScript + Vite
  • BPMN Engine: bpmn-js with custom modules
  • Validation: Custom bpmnlint rules
  • Export: BPMN XML and MachineSpec v2 JSON
  • Storage: localStorage for auto-save

Documentation

🚀 Quick Start

📚 User Guides

📖 Reference Documentation

🔧 API Documentation


Copyright © 2025 Etherisc. Distributed under the MIT License.