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

npm
npm install @cosmos.gl/graph
v3.5.0

Development activity

Commits per month to the default branch over the last 12 complete months.

050100 Oct 2025 Nov Dec Jan 2026 Feb Mar Apr May Jun Jul Aug Sep
050100 Oct 2025 Jan 2026 Apr Jul
369 commits from Oct 2025 to Sep 2026.
Show data as a table
cosmos.gl commits per month
MonthCommits
Oct 20250
Nov 202512
Dec 20254
Jan 20264
Feb 202671
Mar 202647
Apr 202617
May 20260
Jun 202652
Jul 202690
Aug 202635
Sep 202637

Popularity among JavaScript graph & network visualization libraries

GitHub stars for cosmos.gl and the most-starred alternatives.
Show data as a table
GitHub stars
ToolStars
xyflow38,584
G612,321
Sigma.js12,180
Cytoscape.js11,232
Vue Flow6,890
X66,716
cosmos.gl1,288

Alternatives to cosmos.gl

  • xyflow

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

    38.6K starsTypeScriptMIT

  • G6

    Graph visualization library powered by Javascript & Typescript, maintained by Alibaba

    12.3K starsTypeScriptMIT

  • Sigma.js

    JavaScript library dedicated to graph drawing.

    12.2K starsTypeScriptMIT

  • Cytoscape.js

    JavaScript library for graph drawing maintained by Cytoscape core developers.

    11.2K starsJavaScriptMIT

  • Vue Flow

    Flowchart and node-based graph component for Vue 3.

    6.9K starsTypeScriptMIT

  • X6

    Diagramming library for DAGs, ER diagrams, flowcharts and other graph editors, maintained by Alibaba.

    6.7K starsTypeScriptMIT

cosmos.gl FAQ

Is cosmos.gl open source?

Yes. cosmos.gl is released under the MIT license, and its source code is on GitHub.

Is cosmos.gl still maintained?

Yes. cosmos.gl is actively developed, with 369 commits in the last 12 months and the latest commit today.

How do I install cosmos.gl?

From npm: npm install @cosmos.gl/graph.

What are the best alternatives to cosmos.gl?

The most popular alternatives listed in JavaScript graph & network visualization libraries are xyflow, G6, and Sigma.js. See the full ranking.

What language is cosmos.gl written in?

cosmos.gl is primarily written in TypeScript, according to GitHub.

Data: GitHub API, npm. Updated Oct 5, 2026.