GitHub stars
12.3K#53 in the directory
npm downloads / week
265.8K
Commits, last 12 months
44
Contributors
180
Last commit
Latest release
5.1.1Apr 17, 2026

Overview

G6 is an open-source JavaScript graph visualization library released under the MIT license. Its GitHub repository has 12,323 stars, 1,646 forks, and 180 contributors. It is actively developed with 44 commits in the last 12 months. The latest release, 5.1.1, was published on Apr 17, 2026. On npm it is downloaded about 265.8K times per week.

Its GitHub description: ♾ A Graph Visualization Framework in JavaScript.

GitHub topics: graph-drawingtreenetworkgraphvisualizationdata-visualizationgraph-visualizationvisual-analyticsgraph-analyticshacktoberfest

Install

npm
npm install @antv/g6
v5.1.1

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
44 commits from Oct 2025 to Sep 2026.
Show data as a table
G6 commits per month
MonthCommits
Oct 20256
Nov 202514
Dec 20256
Jan 20261
Feb 20263
Mar 20268
Apr 20261
May 20261
Jun 20261
Jul 20262
Aug 20260
Sep 20261

Popularity among JavaScript graph & network visualization libraries

GitHub stars for G6 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
3d-force-graph6,433

Alternatives to G6

  • xyflow

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

    38.6K starsTypeScriptMITG6 vs xyflow

  • Sigma.js

    JavaScript library dedicated to graph drawing.

    12.2K starsTypeScriptMITG6 vs Sigma.js

  • Cytoscape.js

    JavaScript library for graph drawing maintained by Cytoscape core developers.

    11.2K starsJavaScriptMITG6 vs Cytoscape.js

  • Vue Flow

    Flowchart and node-based graph component for Vue 3.

    6.9K starsTypeScriptMITG6 vs Vue Flow

  • X6

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

    6.7K starsTypeScriptMIT

  • 3d-force-graph

    3D force-directed graph component using Three.js/WebGL.

    6.4K starsHTMLMIT

More comparisons: G6 vs xyflow · G6 vs Sigma.js · Cytoscape.js vs G6 · G6 vs Vue Flow

G6 FAQ

Is G6 open source?

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

Is G6 still maintained?

Yes. G6 is actively developed, with 44 commits in the last 12 months and the latest commit 11 days ago.

How do I install G6?

From npm: npm install @antv/g6.

What are the best alternatives to G6?

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

What language is G6 written in?

G6 is primarily written in TypeScript, according to GitHub.

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