Key differences

  • xyflow has 3.4× as many GitHub stars as Cytoscape.js (38.6K vs 11.2K).
  • xyflow had more development activity over the last 12 months: 510 commits vs 185.
  • Cytoscape.js is downloaded 1.3× as often on npm (20.2M vs 15.2M per week).
  • Both are released under the MIT license.
  • Cytoscape.js is written primarily in JavaScript, xyflow in TypeScript.
  • Cytoscape.js is the older project: its repository was created in 2011, xyflow's in 2019.

By the numbers

  • Cytoscape.js
  • xyflow
GitHub stars
11.2K 38.6K
npm downloads / week
20.2M 15.2M
Commits, last 12 months
185 510
Contributors
139 138
Forks
1.7K 2.5K
Show data as a table
Cytoscape.js vs xyflow by the numbers
MetricCytoscape.jsxyflow
GitHub stars11,23238,582
npm downloads / week20,157,66915,244,142
Commits, last 12 months185510
Contributors139138
Forks1,6742,541

Development activity

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

  • Cytoscape.js
  • 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
Cytoscape.js vs xyflow: commits per month
MonthCytoscape.jsxyflow
Oct 20250132
Nov 2025032
Dec 2025326
Jan 2026119
Feb 2026017
Mar 20261043
Apr 2026547
May 20263276
Jun 20262159
Jul 20262023
Aug 20264366
Sep 2026110

Side by side

AttributeCytoscape.jsxyflow
DescriptionJavaScript library for graph drawing maintained by Cytoscape core developers.React 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
LanguageJavaScriptTypeScript
StatusActiveActive
Latest releasev3.34.3 ()@xyflow/svelte@1.7.0 ()
Last commit
Repository created
Open issues1590
Install
npm install cytoscape
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.

  • Cytoscape.js

    JavaScript library for graph drawing maintained by Cytoscape core developers.

    11.2K starsJavaScriptMIT

  • xyflow

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

    38.6K starsTypeScriptMIT

More comparisons