# sigma.js: 7.4 out of 10

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

sigma.js is a WebGL library for drawing and exploring large network graphs, built on the graphology data model. Version 4.0 (released autumn 2026) rewrote rendering and styling. It is a strong pick when you need thousands to hundreds of thousands of nodes on screen. It is not a tool for flowcharts, editable diagrams or sketching.

**Best for:** Teams that need to render and explore large network graphs in the browser, such as knowledge graphs, social networks or dependency maps.

## Scores

- **Overall: 7.4** (likely 6.3 to 8.4)
  - Claude Opus 5.5 (7.0): For large network graphs in the browser it is arguably the best open-source choice, and it is actively maintained with a fresh v4. It does not do the diagram or flowchart jobs that Mermaid, React Flow or JointJS do. Cytoscape.js has a far larger ecosystem for smaller analytic graphs. The range stays wide because v4 is new and the core team is small.
  - GPT-6.2 Sol (7.8): Sigma is a strong choice for new browser-based network explorers where drawing thousands of nodes and edges smoothly is the main job. Cytoscape.js is a better starting point when built-in layout and graph analysis matter most, and React Flow is better suited to authoring workflows. Active releases and funded development support the recommendation, while the young v4 track record and weak release safeguards keep the range wide.
- **Needed by many: 3.6** (likely 2.5 to 4.6)
  - Claude Opus 5.5 (3.5): Rendering large interactive network graphs is a clear niche within a category that also covers flowcharts, node editors and whiteboards. Most web developers never need it. Those who do (data, security and knowledge-graph tools) need it badly.
  - GPT-6.2 Sol (3.6): Sigma serves a clear niche in browser apps that display connected data. It works across frontend frameworks, while flowchart authoring and whiteboarding call for different tools. State of JavaScript tracks data visualization broadly, so the share of developers who need a network renderer remains uncertain.
- **Helps a lot: 7.9** (likely 6.8 to 8.9)
  - Claude Opus 5.5 (7.5): Comparisons, including the Cytoscape.js Stack Overflow thread, say sigma.js handles large graphs better than Cytoscape.js and vis-network. v4 adds WebGL labels, a declarative styles API, dragging and parallel edges, and the docs were rebuilt with a generated API reference. Limits: it has few built-in features, it relies on graphology for layouts, and v4 is new, so its stability in real use is not yet proven.
  - GPT-6.2 Sol (8.3): Version 4.0.6 combines GPU-rendered labels, declarative styling, and built-in interaction in a documented TypeScript API. Layout runs separately, and WebGL 2 is required. Older independent tests favored Sigma on large graphs, but current cross-library benchmarks and measurements of AI-generated code quality are scarce.
- **Holds up over time: 7.5** (likely 6.5 to 8.6)
  - Claude Opus 5.5 (7.0): Activity is high: 439 commits and 16 releases in the last year, 2 open issues and 0 open PRs, and a major release this autumn. The work rests on a small core (jacomyal, Yomguithereal) backed by OuestWare and Sciences Po médialab, which is a bus-factor risk. Major versions bring big breaking rewrites.
  - GPT-6.2 Sol (8.0): The project shipped v4 and six patch releases, and maintainers fixed a reported beta label performance issue in under three weeks. OuestWare and Sciences Po médialab support development, and gdotv funded the v4 work. The rendering API rewrite and a small npm publisher group leave some uncertainty about future upgrade costs and release continuity.
- **Used widely: 4.4** (likely 3.3 to 5.6)
  - Claude Opus 5.5 (4.5): Downloads grew about 14x in a year (2.87M from 203K), well above the 4.1 median. Part of that jump is likely transitive installs. There are 311 dependent repos, against 5456 for Cytoscape.js and 1192 for vis-network, so direct choices are probably in the thousands to low tens of thousands.
  - GPT-6.2 Sol (4.3): Four-week npm downloads grew from 203,086 to 2.87 million, about 14.1 times year over year and well above the catalog median of 4.1. The 12,246 GitHub stars show interest, but the 311 tracked dependent repos trail vis-network and Cytoscape.js. Automated and indirect installs, CDN use, and incomplete repository coverage make the number of projects choosing Sigma uncertain.
- **Vouched for: 6.2** (likely 5.1 to 7.5)
  - Claude Opus 5.5 (5.0): Gephi Lite and Sciences Po médialab tools use it, and wrappers such as ipysigma and an R package build on it. Independent, current benchmarks and write-ups are scarce, and there are no Hacker News stories and little survey presence.
  - GPT-6.2 Sol (7.4): gdotv ships v4 in its database explorer, and Surrealist and Gephi Lite depend on v3. Memgraph's independent benchmark supports Sigma's advantage on larger graphs in the setups tested. gdotv also funds development, Gephi Lite shares maintainers with Sigma, and independent evidence on stable v4 is still limited.
- **Safe: 6.6** (likely 5.4 to 7.7)
  - Claude Opus 5.5 (7.0): There are no advisories ever, only two dependencies, and an MIT licence, so the attack surface is small. The Scorecard is low at 3.5: no code review, no branch protection, no security policy and no signed releases. Few people can publish.
  - GPT-6.2 Sol (6.1): The MIT license, two direct npm dependencies, and zero recorded OSV advisories are positives. OpenSSF Scorecard gives it 3.5 out of 10, with weak checks for branch protection, code review, workflow permissions, and dependency pinning. GitHub Actions builds the tagged release asset and npm lists two collaborators, while npm publishing credentials and package provenance remain unverified.

## Good

- WebGL rendering stays smooth with tens of thousands of nodes and edges, where Canvas or SVG libraries slow down.
- Version 4 draws labels in WebGL with signed distance fields and adds built-in node dragging, parallel edges and self-loops.
- Layouts, metrics and community detection come from graphology's large standard library.
- Only two dependencies, MIT licence, and no known advisories.

## Bad

- The core is minimal: it does no layout by itself, and it has no diagram editing, ports or orthogonal edge routing.
- The v4 rewrite breaks v3 code: the programs system, the hidden/forceLabel attributes and the size defaults all changed, and v4 needs WebGL 2.
- Most of the work comes from a small core team, and the OpenSSF Scorecard is weak (3.5).
- Far fewer dependents and community write-ups than Cytoscape.js, so there are fewer examples for developers and AI agents to draw on.

## The numbers

- Downloads, 4 weeks: 2.9M
- In a year: ×14
- GitHub stars: 12k
- Commits, 12 months: 439
- Last npm release: Nov 2026
- Advisories, 24 months: 0
- Licence: MIT
- GitHub: https://github.com/jacomyal/sigma.js
- npm: https://www.npmjs.com/package/sigma

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.
