A visual workflow editor built with React and React Flow. Create workflows on a canvas, save them as JSON, and simulate how they would run step by step.
- Drag-and-drop canvas — add nodes, connect edges, zoom and pan
- DAG validation — blocks cycles when you connect nodes
- Typed nodes — Start, Process, Decision, End
- Properties panel — edit labels, descriptions, duration, and conditions
- Save & load — export/import JSON, auto-save to browser storage
- Undo / Redo —
Ctrl+ZandCtrl+Y - Run simulator — executes the workflow in order with live highlights and logs
- Themes & layouts — light/dark mode, vertical, horizontal, and circular layouts
React · React Flow · Vite · CSS
git clone https://github.com/akriti311/visual-workflow-builder.git
cd visual-workflow-builder
npm install
npm run devOpen the URL shown in the terminal (usually http://localhost:5173).
- Click Add Node and pick a type (Start, Process, Decision, End).
- Connect nodes by dragging from the bottom handle to another node's top handle.
- Click a node to edit it in the Properties panel on the right.
- Click Run to simulate the workflow. Watch nodes highlight and check the Execution Log.
- Use Export / Import to save or load workflows as JSON files.
Build a simple flow: Start → Process → End, then click Run.
For a Decision node, set a condition like stock > 0 — the simulator picks the True or False branch.
src/
├── graph/ # DAG validation, topological sort
├── engine/ # Workflow execution
├── persistence/ # JSON save/load
├── hooks/ # App state
└── components/ # UI (canvas, nodes, panels)
Akriti Agrawal — GitHub