GitHub stars
2.8K
npm downloads / week
11.8M
Commits, last 12 months
61
Contributors
23
Last commit
Latest release
0.12.0Jul 17, 2026

Overview

elkjs is a JavaScript graph visualization library. Its GitHub repository has 2,801 stars, 127 forks, and 23 contributors. It is actively developed with 61 commits in the last 12 months. The latest release, 0.12.0, was published on Jul 17, 2026. On npm it is downloaded about 11.8M times per week.

Its GitHub description: ELK's layout algorithms for JavaScript

GitHub topics: diagram-layoutlayout-algorithmgraph-layoutlayered-layout

Install

npm
npm install elkjs
v0.12.0

Development activity

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

051015 Oct 2025 Nov Dec Jan 2026 Feb Mar Apr May Jun Jul Aug Sep
051015 Oct 2025 Jan 2026 Apr Jul
61 commits from Oct 2025 to Sep 2026.
Show data as a table
elkjs commits per month
MonthCommits
Oct 20250
Nov 20253
Dec 20251
Jan 20266
Feb 20262
Mar 202611
Apr 20263
May 20264
Jun 20264
Jul 202611
Aug 20269
Sep 20267

Popularity among JavaScript graph & network visualization libraries

GitHub stars for elkjs and the most-starred alternatives.
Show data as a table
GitHub stars
ToolStars
xyflow38,582
G612,323
Sigma.js12,180
Cytoscape.js11,232
Vue Flow6,888
X66,716
elkjs2,801

Alternatives to elkjs

  • 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

elkjs FAQ

Is elkjs open source?

Its source code is public on GitHub under the EPL-2.0 OR GPL-3.0-or-later license.

Is elkjs still maintained?

Yes. elkjs is actively developed, with 61 commits in the last 12 months and the latest commit 17 days ago.

How do I install elkjs?

From npm: npm install elkjs.

What are the best alternatives to elkjs?

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

What language is elkjs written in?

elkjs is primarily written in JavaScript, according to GitHub.

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