G6
Graph visualization library powered by Javascript & Typescript, maintained by Alibaba
- Active
- MIT
- TypeScript
- JavaScript graph & network visualization libraries
- 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
Development activity
Commits per month to the default branch over the last 12 complete months.
Show data as a table
| Month | Commits |
|---|---|
| Oct 2025 | 6 |
| Nov 2025 | 14 |
| Dec 2025 | 6 |
| Jan 2026 | 1 |
| Feb 2026 | 3 |
| Mar 2026 | 8 |
| Apr 2026 | 1 |
| May 2026 | 1 |
| Jun 2026 | 1 |
| Jul 2026 | 2 |
| Aug 2026 | 0 |
| Sep 2026 | 1 |
Popularity among JavaScript graph & network visualization libraries
Show data as a table
| Tool | Stars |
|---|---|
| xyflow | 38,582 |
| G6 | 12,323 |
| Sigma.js | 12,180 |
| Cytoscape.js | 11,232 |
| Vue Flow | 6,888 |
| X6 | 6,716 |
| 3d-force-graph | 6,433 |
Alternatives to G6
-
xyflow
React Flow and Svelte Flow: libraries for building node-based editors, flow charts and interactive diagrams.
-
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.
-
3d-force-graph
3D force-directed graph component using Three.js/WebGL.
More comparisons: G6 vs xyflow · G6 vs Sigma.js · Cytoscape.js vs G6 · G6 vs Vue Flow
G6 FAQ
Is G6 open source?
Is G6 still maintained?
How do I install G6?
npm install @antv/g6.What are the best alternatives to G6?
What language is G6 written in?
Data: GitHub API, npm. Updated Oct 4, 2026.