# G6 vs xyflow

## Key differences

- xyflow has 3.1× as many GitHub stars as G6 (38.6K vs 12.3K).
- xyflow had more development activity over the last 12 months: 510 commits vs 44.
- xyflow is downloaded 57× as often on npm (15.2M vs 265.8K per week).
- Both are released under the MIT license.
- G6 is the older project: its repository was created in 2017, xyflow's in 2019.

| | G6 | xyflow |
|---|---|---|
| Description | Graph visualization library powered by Javascript & Typescript, maintained by Alibaba | React Flow and Svelte Flow: libraries for building node-based editors, flow charts and interactive diagrams. |
| GitHub stars | 12,323 | 38,582 |
| Commits (12 months) | 44 | 510 |
| Contributors | 180 | 138 |
| License | MIT | MIT |
| Language | TypeScript | TypeScript |
| Status | Active | Active |
| Install | `npm install @antv/g6` | `npm install @xyflow/react` |

Source: https://awesomedataviz.com/compare/g6-vs-xyflow/ · Data updated 2026-10-04 · Content: CC BY 4.0, Awesome Dataviz (https://awesomedataviz.com).
