Key differences

  • xyflow has 3.2× as many GitHub stars as G6 (39.1K vs 12.4K).
  • xyflow had more development activity over the last 12 months: 949 commits vs 46.
  • xyflow is downloaded 68× as often on npm (22.2M vs 326.7K per week).
  • Both are released under the MIT license.
  • G6 is the older project: its repository was created in 2017, xyflow's in 2019.

By the numbers

  • G6
  • xyflow
GitHub stars
12.4K 39.1K
npm downloads / week
326.7K 22.2M
Commits, last 12 months
46 949
Contributors
180 146
Forks
1.6K 2.6K
Show data as a table
G6 vs xyflow by the numbers
MetricG6xyflow
GitHub stars12,39739,070
npm downloads / week326,66822,201,492
Commits, last 12 months46949
Contributors180146
Forks1,6492,586

Development activity

Commits per month to each default branch, last 12 complete months.

  • G6
  • xyflow
0100200300 Nov 2025 Dec Jan 2026 Feb Mar Apr May Jun Jul Aug Sep OctG6xyflow
0100200300 Nov 2025 Feb 2026 May Aug G6xyflow
Show data as a table
G6 vs xyflow: commits per month
MonthG6xyflow
Nov 20251432
Dec 2025627
Jan 2026119
Feb 2026317
Mar 2026843
Apr 2026126
May 2026197
Jun 20261116
Jul 20262204
Aug 20260190
Sep 2026150
Oct 20268128

Side by side

AttributeG6xyflow
DescriptionGraph visualization library powered by Javascript & Typescript, maintained by AlibabaReact Flow and Svelte Flow: libraries for building node-based editors, flow charts and interactive diagrams.
CategoryJavaScript graph & network visualization librariesJavaScript graph & network visualization libraries
LicenseMITMIT
LanguageTypeScriptTypeScript
StatusActiveActive
Latest release5.1.1 ()@xyflow/svelte@2.0.2 ()
Last commit
Repository created
Open issues32176
Install
npm install @antv/g6
npm install @xyflow/react

Which should you choose?

Popularity and activity are only part of the story. Consider which ecosystem you work in, the chart types and interactions you need, how much data you render, and whether the license fits your project. Both tool pages list alternatives if neither is quite right.

  • G6

    Graph visualization library powered by Javascript & Typescript, maintained by Alibaba

    12.4K starsTypeScriptMIT

  • xyflow

    React Flow and Svelte Flow: libraries for building node-based editors, flow charts and interactive diagrams.

    39.1K starsTypeScriptMIT

More comparisons