Key differences

  • xyflow has 3.1× as many GitHub stars as G6 (38.9K vs 12.4K).
  • xyflow had more development activity over the last 12 months: 403 commits vs 46.
  • xyflow is downloaded 64× as often on npm (20.1M vs 315.6K 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 38.9K
npm downloads / week
315.6K 20.1M
Commits, last 12 months
46 403
Contributors
180 146
Forks
1.7K 2.6K
Show data as a table
G6 vs xyflow by the numbers
MetricG6xyflow
GitHub stars12,37938,915
npm downloads / week315,64920,054,903
Commits, last 12 months46403
Contributors180146
Forks1,6512,565

Development activity

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

  • G6
  • xyflow
050100 Nov 2025 Dec Jan 2026 Feb Mar Apr May Jun Jul Aug Sep OctG6xyflow
050100 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 202617
May 2026176
Jun 2026159
Jul 2026223
Aug 2026066
Sep 2026111
Oct 2026823

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@1.7.1 ()
Last commit
Repository created
Open issues31987
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.

    38.9K starsTypeScriptMIT

More comparisons