# Diagrams and node graphs

Draw boxes, arrows and node graphs, or let people sketch them. 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.

| Rank | Project | Overall | Needed by many | Helps a lot | Holds up over time | Used widely | Vouched for | Safe | Best for |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| 1 | [React Flow](https://elestia.ai/opensource/diagrams/xyflow/index.md) | 8.6 | 4.2 | 8.7 | 8.5 | 7.5 | 8.2 | 8.0 | React teams building editable node graphs, such as workflow builders, AI agent canvases or pipeline editors, where each node is a custom React component. |
| 2 | [Mermaid](https://elestia.ai/opensource/diagrams/mermaid/index.md) | 8.5 | 6.3 | 7.9 | 8.3 | 8.2 | 8.9 | 6.2 | Teams that want diagrams written as text, kept in version control, and rendered in docs, markdown or LLM output. |
| 3 | [Cytoscape.js](https://elestia.ai/opensource/diagrams/cytoscape/index.md) | 7.6 | 4.2 | 7.9 | 8.1 | 5.8 | 7.4 | 7.8 | Apps that need to show and analyse network data (biology, dependencies, knowledge graphs) with rich layouts and graph algorithms, in any framework. |
| 4 | [elkjs](https://elestia.ai/opensource/diagrams/elkjs/index.md) | 7.4 | 3.7 | 8.0 | 7.2 | 5.4 | 7.6 | 7.0 | Teams that need automatic, high-quality layout of flow charts, architecture or dataflow diagrams to feed a renderer such as React Flow or Svelte Flow. |
| 5 | [sigma.js](https://elestia.ai/opensource/diagrams/sigma/index.md) | 7.4 | 3.6 | 7.9 | 7.5 | 4.4 | 6.2 | 6.6 | Teams that need to render and explore large network graphs in the browser, such as knowledge graphs, social networks or dependency maps. |
| 6 | [Excalidraw](https://elestia.ai/opensource/diagrams/excalidraw/index.md) | 7.3 | 4.1 | 7.5 | 6.9 | 5.9 | 7.1 | 5.9 | React apps that want an embeddable, MIT-licensed whiteboard where users sketch boxes, arrows and wireframes by hand. |
| 7 | [dagre](https://elestia.ai/opensource/diagrams/dagre/index.md) | 6.7 | 3.6 | 6.9 | 6.4 | 5.4 | 6.8 | 6.9 | Developers who need quick top-down or left-right layouts for flowcharts and trees in React Flow, Cytoscape.js or their own SVG. |
| 8 | [JointJS](https://elestia.ai/opensource/diagrams/jointjs/index.md) | 6.7 | 4.5 | 7.0 | 7.5 | 3.9 | 4.6 | 8.3 | Teams building custom interactive diagram editors outside or alongside React who may later buy JointJS+ for advanced features and vendor support. |
| 9 | [vis-network](https://elestia.ai/opensource/diagrams/vis-network/index.md) | 6.3 | 3.8 | 6.4 | 6.5 | 4.4 | 5.4 | 7.4 | Developers who want an interactive force-directed network view of small to medium graphs with little setup code. |

## The numbers

| Project | Downloads, 4 weeks | In a year | GitHub stars | Commits, 12 months | Last npm release | Advisories, 24 months |
| --- | --- | --- | --- | --- | --- | --- |
| React Flow | 84M | ×14 | 39k | 1.1k | Nov 2026 | 0 |
| Mermaid | 104M | ×13 | 91k | 2.9k | Nov 2026 | 11 |
| Cytoscape.js | 106M | ×13 | 11k | 326 | Nov 2026 | 0 |
| elkjs | 78M | ×21 | 2.9k | 77 | Oct 2026 | 0 |
| sigma.js | 2.9M | ×14 | 12k | 439 | Nov 2026 | 0 |
| Excalidraw | 5.7M | ×19 | 136k | 297 | Apr 2026 | 1 |
| dagre | 34M | ×11 | 5.9k | 117 | Oct 2026 | 0 |
| JointJS | 293k | ×3.5 | 5.4k | 154 | Oct 2026 | 0 |
| vis-network | 4.4M | ×3.9 | 3.6k | 248 | Nov 2026 | 0 |

All categories: https://elestia.ai/opensource/index.md
