cosmos.gl
GPU-accelerated force graph layout and rendering engine that runs entirely in WebGL shaders.
- Active
- MIT
- TypeScript
- JavaScript graph & network visualization libraries
- GitHub stars
- 1.3K
- npm downloads / week
- 76K
- Commits, last 12 months
- 369
- Contributors
- 10
- Last commit
- Latest release
- v3.5.0Oct 5, 2026
Overview
cosmos.gl is an open-source JavaScript graph visualization library released under the MIT license. Its GitHub repository has 1,288 stars, 86 forks, and 10 contributors. It is actively developed with 369 commits in the last 12 months. The latest release, v3.5.0, was published on Oct 5, 2026. On npm it is downloaded about 76K times per week.
Its GitHub description: GPU-accelerated force graph layout and rendering
GitHub topics: graphnetworkforcesimulationvisualizationwebglembeddings
Install
Development activity
Commits per month to the default branch over the last 12 complete months.
Show data as a table
| Month | Commits |
|---|---|
| Oct 2025 | 0 |
| Nov 2025 | 12 |
| Dec 2025 | 4 |
| Jan 2026 | 4 |
| Feb 2026 | 71 |
| Mar 2026 | 47 |
| Apr 2026 | 17 |
| May 2026 | 0 |
| Jun 2026 | 52 |
| Jul 2026 | 90 |
| Aug 2026 | 35 |
| Sep 2026 | 37 |
Popularity among JavaScript graph & network visualization libraries
Show data as a table
| Tool | Stars |
|---|---|
| xyflow | 38,584 |
| G6 | 12,321 |
| Sigma.js | 12,180 |
| Cytoscape.js | 11,232 |
| Vue Flow | 6,890 |
| X6 | 6,716 |
| cosmos.gl | 1,288 |
Alternatives to cosmos.gl
-
xyflow
React Flow and Svelte Flow: libraries for building node-based editors, flow charts and interactive diagrams.
-
G6
Graph visualization library powered by Javascript & Typescript, maintained by Alibaba
-
Sigma.js
JavaScript library dedicated to graph drawing.
-
Cytoscape.js
JavaScript library for graph drawing maintained by Cytoscape core developers.
-
Vue Flow
Flowchart and node-based graph component for Vue 3.
-
X6
Diagramming library for DAGs, ER diagrams, flowcharts and other graph editors, maintained by Alibaba.
cosmos.gl FAQ
Is cosmos.gl open source?
Is cosmos.gl still maintained?
How do I install cosmos.gl?
npm install @cosmos.gl/graph.What are the best alternatives to cosmos.gl?
What language is cosmos.gl written in?
Data: GitHub API, npm. Updated Oct 5, 2026.