Key differences

  • G6 and Cytoscape.js have a similar number of GitHub stars (12.3K vs 11.2K).
  • Cytoscape.js had more development activity over the last 12 months: 185 commits vs 44.
  • Cytoscape.js is downloaded 76× as often on npm (20.2M vs 265.8K 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.2K 12.3K
npm downloads / week
20.2M 265.8K
Commits, last 12 months
185 44
Contributors
139 180
Forks
1.7K 1.6K
Show data as a table
Cytoscape.js vs G6 by the numbers
MetricCytoscape.jsG6
GitHub stars11,23212,323
npm downloads / week20,157,669265,820
Commits, last 12 months18544
Contributors139180
Forks1,6741,646

Development activity

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

  • Cytoscape.js
  • G6
0204060 Oct 2025 Nov Dec Jan 2026 Feb Mar Apr May Jun Jul Aug Sep
0204060 Oct 2025 Jan 2026 Apr Jul
Show data as a table
Cytoscape.js vs G6: commits per month
MonthCytoscape.jsG6
Oct 202506
Nov 2025014
Dec 202536
Jan 202611
Feb 202603
Mar 2026108
Apr 2026541
May 2026321
Jun 2026211
Jul 2026202
Aug 2026430
Sep 202611

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.34.3 ()5.1.1 ()
Last commit
Repository created
Open issues15322
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.2K starsJavaScriptMIT

  • G6

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

    12.3K starsTypeScriptMIT

More comparisons