Key differences

  • xyflow has 3.5× as many GitHub stars as Cytoscape.js (39K vs 11.3K).
  • xyflow had more development activity over the last 12 months: 403 commits vs 273.
  • Cytoscape.js is downloaded 1.2× as often on npm (26.6M vs 21.7M 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.3K 39K
npm downloads / week
26.6M 21.7M
Commits, last 12 months
273 403
Contributors
146 146
Forks
1.7K 2.6K
Show data as a table
Cytoscape.js vs xyflow by the numbers
MetricCytoscape.jsxyflow
GitHub stars11,29039,019
npm downloads / week26,613,55921,657,793
Commits, last 12 months273403
Contributors146146
Forks1,6952,581

Development activity

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

  • Cytoscape.js
  • xyflow
050100 Nov 2025 Dec Jan 2026 Feb Mar Apr May Jun Jul Aug Sep OctCytoscape.jsxyflow
050100 Nov 2025 Feb 2026 May Aug Cytoscape.jsxyflow
Show data as a table
Cytoscape.js vs xyflow: commits per month
MonthCytoscape.jsxyflow
Nov 2025032
Dec 2025327
Jan 2026119
Feb 2026017
Mar 20261043
Apr 2026547
May 20263276
Jun 20262459
Jul 20262423
Aug 20266366
Sep 20261011
Oct 20265223

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.35.0 ()@xyflow/svelte@1.7.1 ()
Last commit
Repository created
Open issues2088
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.3K starsJavaScriptMIT

  • xyflow

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

    39K starsTypeScriptMIT

More comparisons