Build a visual workflow editor where users can drag and connect task nodes on a canvas.
Create a data lineage diagram showing where data flows from source tables to output tables.
Design a database schema editor where tables are nodes and foreign keys are connecting lines.
Add a zoomable, pannable diagram canvas to a React or Vue 2 app using npm install.
| alibaba/butterfly | electerious/ackee | alexnisnevich/untrusted | |
|---|---|---|---|
| Stars | 4,654 | 4,655 | 4,652 |
| Language | JavaScript | JavaScript | JavaScript |
| Setup difficulty | easy | moderate | easy |
| Complexity | 3/5 | 3/5 | 1/5 |
| Audience | developer | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
Install via npm, requires basic React or Vue 2 setup to use the framework-specific components.
Butterfly is a JavaScript library from Alibaba for building interactive diagram and flow chart editors inside web pages. You use it to create a visual canvas where boxes (nodes) can be connected by lines (edges), which is the kind of interface you see in workflow builders, data pipeline editors, or any tool where you want to show how things connect to each other. The library works with plain JavaScript, React, and Vue 2. Developers drop it into their project, define what nodes and connections should appear, and the library handles drawing them, letting users drag nodes around, zoom in and out, and pan across the canvas. You can customize how each node looks using standard web technologies, so the diagrams can match whatever design your application needs. Alibaba has also built a set of higher-level React components on top of this library for specific business use cases: data field mapping between tables, lineage tracing to show where data came from, visual database modeling, and a monitoring view for task pipelines. These are separate packages but they show the kinds of things you can build with Butterfly as the foundation. The README is written primarily in Chinese. An English version is available in a separate file linked at the top. Installation is through the npm package manager, and a runnable demo is included in the repository for trying the library locally.
Butterfly is a JavaScript library for building drag-and-drop diagram editors in the browser, think workflow builders or data pipeline visualizers where boxes connect to each other with lines.
Mainly JavaScript. The stack also includes JavaScript, React, Vue 2.
Check the repository for the exact license terms, maintained by Alibaba as open-source.
Setup difficulty is rated easy, with roughly 30min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.