Visual low-code editor for creating EventFlux streaming applications as a VS Code extension.
- Drag & Drop Canvas: Visually build streaming pipelines with React Flow
- Element Palette: Sources (Stream, Table, Trigger), Processing (Window, Filter, Join, Pattern), Sinks (Output)
- Properties Panel: Configure elements with schema editors, expression builders
- SQL Generation: Auto-generate EventFlux SQL from visual model
- Bidirectional Sync: Switch between visual and SQL views
- Templates: Pre-built templates for common use cases
studio/
├── src/ # VS Code extension source
│ ├── extension.ts # Extension entry point
│ ├── providers/
│ │ └── studioEditorProvider.ts
│ └── services/
├── webview/ # React application
│ ├── src/
│ │ ├── App.tsx
│ │ ├── components/
│ │ │ ├── Canvas/
│ │ │ ├── Palette/
│ │ │ ├── Properties/
│ │ │ └── Toolbar/
│ │ ├── elements/
│ │ ├── stores/
│ │ └── types/
│ └── package.json
├── templates/ # Pre-built templates
└── package.json # Extension manifest
- Node.js 18+
- VS Code 1.85+
# Install extension dependencies
cd studio
npm install
# Install webview dependencies
cd webview
npm install# Build everything
npm run build
# Or build separately
npm run build:extension # Build VS Code extension
npm run build:webview # Build React webview# Watch mode for both extension and webview
npm run watch
# Or in separate terminals:
npm run watch:extension
cd webview && npm run dev- Open the
studiofolder in VS Code - Press F5 to launch Extension Development Host
- In the new window, create a
.eventflux.studiofile or run "EventFlux: New Studio Project"
- Stream - Input event stream with schema
- Table - Reference data table for lookups
- Trigger - Time-based event generator (START, PERIODIC, CRON)
- Window - 9 types: length, lengthBatch, time, timeBatch, tumbling, sliding, session, externalTime, externalTimeBatch, sort
- Filter - WHERE condition filtering
- Projection - SELECT column transformation
- Aggregation - COUNT, SUM, AVG, MIN, MAX, etc.
- Group By - GROUP BY with HAVING
- Join - INNER, LEFT, RIGHT, FULL OUTER joins
- Pattern - CEP pattern matching (PATTERN/SEQUENCE)
- Partition - Parallel partitioning
- Output - INSERT INTO target stream
JSON format containing elements, connections, layout, and metadata.
Standard EventFlux SQL syntax - can be imported/exported.
Pre-built templates in templates/:
stock-analysis.json- Stock price analysis with aggregations
- Extension: TypeScript, esbuild
- Webview: React 18, React Flow, Zustand, Tailwind CSS, Vite
- Icons: Lucide React
- Fork the repository
- Create a feature branch
- Make changes and test
- Submit a pull request
Apache-2.0 - See LICENSE file