finds.dev

alyssaxuu/flowy

The minimal javascript library to create flowcharts ✨

View on GitHub

★ 12,049JavaScriptMITupdated Jul 2024

// the take

Flowy is a vanilla JS library for building drag-and-drop flowchart UIs in the browser — no dependencies, ~1000 lines of code. It's aimed at developers who want to add a Zapier-style visual workflow builder to a web app without pulling in a full graph library.

Zero dependencies and a tiny footprint make it trivially embeddable. The callback API (onSnap, onRearrange) lets you intercept and cancel connections, which is the one thing you actually need to build conditional flow logic. Mobile support with touch events works out of the box. The output format is a flat array of {id, parent} pairs — simple enough to serialize and store without any custom serialization layer.

Last commit was mid-2024 and the issues tracker has 100+ open ones including an npm package that never shipped — this is effectively unmaintained. The library only supports trees (one parent per node), not arbitrary DAGs, so any workflow with converging branches is out. The import method injects raw HTML with no sanitization and the README documents this as a known XSS hole — not acceptable if user-supplied data touches that path. No TypeScript types and no module format (no ESM, no CommonJS) means you're stuck with a script tag and a global.

We read the README, the directory tree and a key source file in June 2026. Nobody pays to be listed. How we judge →

// at a glance

Stars
12,049
Forks
1,049
Language
JavaScript
License
MIT
Last commit
13 Jul 2024

// nearby

If flowy isn't quite it.

All repos →