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.

By the numbers

  • G6
  • xyflow
GitHub stars
12.3K 38.6K
npm downloads / week
265.8K 15.2M
Commits, last 12 months
44 510
Contributors
180 138
Forks
1.6K 2.5K
Show data as a table
G6 vs xyflow by the numbers
MetricG6xyflow
GitHub stars12,32338,582
npm downloads / week265,82015,244,142
Commits, last 12 months44510
Contributors180138
Forks1,6462,541

Development activity

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

  • G6
  • xyflow
050100150 Oct 2025 Nov Dec Jan 2026 Feb Mar Apr May Jun Jul Aug Sep
050100150 Oct 2025 Jan 2026 Apr Jul
Show data as a table
G6 vs xyflow: commits per month
MonthG6xyflow
Oct 20256132
Nov 20251432
Dec 2025626
Jan 2026119
Feb 2026317
Mar 2026843
Apr 202617
May 2026176
Jun 2026159
Jul 2026223
Aug 2026066
Sep 2026110

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.0 ()
Last commit
Repository created
Open issues32290
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.3K starsTypeScriptMIT

  • xyflow

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

    38.6K starsTypeScriptMIT

More comparisons