GitHub stars
2.9K
npm downloads / week
21.3M
Commits, last 12 months
78
Contributors
24
Last commit
Latest release
0.12.1Oct 28, 2026

Overview

elkjs is an open-source JavaScript graph visualization library released under the EPL-2.0 OR GPL-3.0-or-later license. Its GitHub repository has 2,904 stars, 128 forks, and 24 contributors. It is actively developed with 78 commits in the last 12 months. The latest release, 0.12.1, was published on Oct 28, 2026. On npm it is downloaded about 21.3M 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.1

Development activity

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

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

Popularity among JavaScript graph & network visualization libraries

GitHub stars for elkjs and the most-starred alternatives.
Show data as a table
GitHub stars
ToolStars
xyflow39,070
G612,397
Sigma.js12,245
Cytoscape.js11,296
Vue Flow6,939
X66,768
elkjs2,904

Alternatives to elkjs

  • xyflow

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

    39.1K starsTypeScriptMIT

  • G6

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

    12.4K 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.3K 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.8K starsTypeScriptMIT

elkjs FAQ

Is elkjs open source?

Yes. elkjs is released under the EPL-2.0 OR GPL-3.0-or-later license, and its source code is on GitHub.

Is elkjs still maintained?

Yes. elkjs is actively developed, with 78 commits in the last 12 months and the latest commit 9 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 Nov 18, 2026.