Key differences

  • G6 and Cytoscape.js have a similar number of GitHub stars (12.4K vs 11.3K).
  • Cytoscape.js had more development activity over the last 12 months: 273 commits vs 46.
  • Cytoscape.js is downloaded 84× as often on npm (27.3M vs 326.7K per week).
  • Both are released under the MIT license.
  • Cytoscape.js is written primarily in JavaScript, G6 in TypeScript.
  • Cytoscape.js is the older project: its repository was created in 2011, G6's in 2017.

By the numbers

  • Cytoscape.js
  • G6
GitHub stars
11.3K 12.4K
npm downloads / week
27.3M 326.7K
Commits, last 12 months
273 46
Contributors
153 180
Forks
1.7K 1.6K
Show data as a table
Cytoscape.js vs G6 by the numbers
MetricCytoscape.jsG6
GitHub stars11,29612,397
npm downloads / week27,331,515326,668
Commits, last 12 months27346
Contributors153180
Forks1,6951,649

Development activity

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

  • Cytoscape.js
  • G6
0255075 Nov 2025 Dec Jan 2026 Feb Mar Apr May Jun Jul Aug Sep OctCytoscape.jsG6
0255075 Nov 2025 Feb 2026 May Aug Cytoscape.jsG6
Show data as a table
Cytoscape.js vs G6: commits per month
MonthCytoscape.jsG6
Nov 2025014
Dec 202536
Jan 202611
Feb 202603
Mar 2026108
Apr 2026541
May 2026321
Jun 2026241
Jul 2026242
Aug 2026630
Sep 2026101
Oct 2026528

Side by side

AttributeCytoscape.jsG6
DescriptionJavaScript library for graph drawing maintained by Cytoscape core developers.Graph visualization library powered by Javascript & Typescript, maintained by Alibaba
CategoryJavaScript graph & network visualization librariesJavaScript graph & network visualization libraries
LicenseMITMIT
LanguageJavaScriptTypeScript
StatusActiveActive
Latest releasev3.35.0 ()5.1.1 ()
Last commit
Repository created
Open issues20321
Install
npm install cytoscape
npm install @antv/g6

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.

  • Cytoscape.js

    JavaScript library for graph drawing maintained by Cytoscape core developers.

    11.3K starsJavaScriptMIT

  • G6

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

    12.4K starsTypeScriptMIT

More comparisons