# Cytoscape.js: 7.6 out of 10

A strong pick. 3rd of 9 in [Diagrams and node graphs](https://elestia.ai/opensource/diagrams/index.md).

Cytoscape.js is a mature, MIT-licensed library for drawing and analysing network graphs. It has many layouts, graph algorithms, compound nodes and zero dependencies. For interactive network views and graph analysis in the browser, it is a strong and actively maintained choice. It does not draw flowcharts or freehand sketches, and for very large graphs sigma.js's WebGL rendering is faster.

**Best for:** Apps that need to show and analyse network data (biology, dependencies, knowledge graphs) with rich layouts and graph algorithms, in any framework.

## Scores

- **Overall: 7.6** (likely 6.6 to 8.6)
  - Claude Opus 5.5 (7.0): For network visualisation and analysis it is a strong pick: mature, actively released, dependency-free and trusted by Mermaid. It is not the tool for flowchart editors or whiteboards, and sigma.js beats it on very large graphs. That keeps it below the category's top picks for general diagramming.
  - GPT-6.2 Sol (8.2): Cytoscape.js is one of the strongest choices for a new network explorer that needs rich styling, automatic layouts, and graph analysis. Mermaid fits diagrams written as text, React Flow fits React workflow editors, and Sigma.js is better suited to projects that prioritize rendering very large networks. Regular releases and current downstream integrations support choosing it today, while dense-graph performance and the planned major upgrade leave room for uncertainty.
- **Needed by many: 4.2** (likely 3.1 to 5.3)
  - Claude Opus 5.5 (4.0): Interactive network graphs and graph analysis form a clear niche inside the diagrams category. Many web apps never need them. The library works with any framework and in Node, which widens it a little. It does not cover flowchart editing or sketching.
  - GPT-6.2 Sol (4.3): Network maps, dependency explorers, and scientific visualizations serve a clear niche across several industries. Browser rendering and headless Node.js support give it reach across frameworks and runtimes. Mermaid covers text-authored diagrams and React Flow covers visual workflow editing, both of which serve additional use cases. The available survey gives general visualization context and leaves the share of JavaScript developers who need network graphs uncertain.
- **Helps a lot: 7.9** (likely 6.9 to 8.9)
  - Claude Opus 5.5 (7.5): Among JS network libraries it has the richest mix of layouts, algorithms, styling and compound nodes. It is well documented, and its long-stable API helps AI agents write correct code. Canvas performance limits very large graphs: the provisional WebGL mode took a 68k-edge graph from about 3 to 10 FPS. Sigma.js handles graphs of 100k+ elements better.
  - GPT-6.2 Sol (8.3): Version 3.35.0 combines layouts, nested nodes, data-driven styling, and graph algorithms in one API. Typed declarations and runnable examples give coding agents concrete patterns for setup and common operations. Canvas performance depends on graph size and styling, and the experimental WebGL renderer still has gaps. The independent benchmark predates WebGL support, leaving the current performance ceiling uncertain.
- **Holds up over time: 8.1** (likely 7.0 to 9.1)
  - Claude Opus 5.5 (8.0): The project has 326 commits and 10 releases in the last year; the latest, 3.35.0, came out on 2026-11-10. Only 21 issues are open against 2,865 closed. It is backed by the academic Cytoscape consortium, and Mermaid depends on it, which keeps it relevant. A small core team does most of the work, which keeps the range from going higher.
  - GPT-6.2 Sol (8.1): The project recorded 326 commits and 10 releases in a year, and a recent algorithm bug was assigned to a patch milestone the day after it was reported. The project documents research grant support and has shipped a long series of 3.x updates. Recent releases are concentrated under one maintainer, and the proposed v4 redesign leaves upgrade effort uncertain.
- **Used widely: 5.8** (likely 4.6 to 7.0)
  - Claude Opus 5.5 (6.0): The 106M downloads every 4 weeks almost exactly match Mermaid's, because Mermaid installs cytoscape as a dependency. Raw downloads and their 12.7x growth therefore mostly measure Mermaid. The 5,456 dependent repos are a fairer signal: second in the category after Mermaid and ahead of elkjs and vis-network. That points to tens of thousands of direct users.
  - GPT-6.2 Sol (5.5): The tracker found 5,456 dependent repositories, ahead of vis-network and Sigma.js and behind Mermaid. Downloads grew 12.7-fold year over year, well above the 4.1-fold catalog median and almost level with Mermaid. Mermaid installs Cytoscape.js as a dependency, so much of the download growth may be indirect. The repository has about 11,300 stars, but the bundle captured no Bluesky links and gives no year-over-year dependent count to confirm direct growth.
- **Vouched for: 7.4** (likely 6.3 to 8.4)
  - Claude Opus 5.5 (7.0): Mermaid builds on it for several diagram types, and Plotly's Dash Cytoscape wraps it. It is widely used in bioinformatics tools and is described in peer-reviewed papers. Independent comparisons consistently name it as the pick for graph analysis. Hacker News and Bluesky show no recent discussion.
  - GPT-6.2 Sol (7.8): Mermaid depends on Cytoscape.js, Plotly wraps it for Dash, and Reactome chose it for its redesigned Pathway Browser beta. An independent topology project rated its usability and scale highly and chose Vis.js for its styling and physics. Kiali has since moved its service-mesh graph to PatternFly. The integrations provide direct evidence of use, while the available survey and benchmark evidence leaves current satisfaction and performance less certain.
- **Safe: 7.8** (likely 6.7 to 8.8)
  - Claude Opus 5.5 (8.0): It has zero runtime dependencies, no known advisories and an MIT licence. The OpenSSF Scorecard is 5. Its weak checks are code review, branch protection, token permissions and pinned dependencies, which point to light process controls on releases.
  - GPT-6.2 Sol (7.6): The MIT-licensed core pulls in zero runtime dependencies, and OSV records zero advisories. The tagged release uses GitHub Actions with npm trusted publishing, and ecosystem metadata lists six npm maintainers. OpenSSF scores the repository 5 out of 10, with weak marks for branch protection, token permissions, dependency pinning, and code review. Those gaps matter because access to the release workflow can affect every downstream install.

## Good

- It combines rendering with built-in graph theory: traversal, shortest paths, centrality and clustering.
- It has many layouts and extensions (fcose, cose-bilkent, dagre, ELK) and supports compound nodes.
- It has zero runtime dependencies, ships its own types and is not tied to a framework.
- It has been maintained steadily since 2011, with about 10 releases a year and few breaking changes within 3.x.

## Bad

- The default canvas renderer slows down on graphs with tens of thousands of edges, and the WebGL mode is still marked provisional.
- It does not suit flowchart editors with ports and custom HTML nodes; React Flow or JointJS fit that job better.
- The React wrapper (react-cytoscapejs) is a separate package that gets little maintenance.
- Its styling and plugin system takes time to learn compared with vis-network.

## The numbers

- Downloads, 4 weeks: 106M
- In a year: ×13
- GitHub stars: 11k
- Commits, 12 months: 326
- Last npm release: Nov 2026
- Advisories, 24 months: 0
- Licence: MIT
- GitHub: https://github.com/cytoscape/cytoscape.js
- npm: https://www.npmjs.com/package/cytoscape

Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 22 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.
