# G6

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

- Category: [JavaScript graph & network visualization libraries](https://awesomedataviz.com/categories/javascript-graph-visualization/)
- Website: https://g6.antv.antgroup.com/
- Repository: https://github.com/antvis/G6
- License: MIT
- Language: TypeScript
- Status: Active (commits in the last 90 days)
- GitHub stars: 12,323
- Commits in the last 12 months: 44
- Contributors: 180
- Last commit: Sep 23, 2026
- Latest release: 5.1.1 (Apr 17, 2026)
- Install (npm): `npm install @antv/g6`, 265.8K downloads per week
- Topics: Graph & network visualization

## 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.

## Alternatives

- [xyflow](https://awesomedataviz.com/tools/xyflow/): React Flow and Svelte Flow: libraries for building node-based editors, flow charts and interactive diagrams. (38.6K stars)
- [Sigma.js](https://awesomedataviz.com/tools/sigma-js/): JavaScript library dedicated to graph drawing. (12.2K stars)
- [Cytoscape.js](https://awesomedataviz.com/tools/cytoscape-js/): JavaScript library for graph drawing maintained by Cytoscape core developers. (11.2K stars)
- [Vue Flow](https://awesomedataviz.com/tools/vue-flow/): Flowchart and node-based graph component for Vue 3. (6.9K stars)
- [X6](https://awesomedataviz.com/tools/x6/): Diagramming library for DAGs, ER diagrams, flowcharts and other graph editors, maintained by Alibaba. (6.7K stars)
- [3d-force-graph](https://awesomedataviz.com/tools/3d-force-graph/): 3D force-directed graph component using Three.js/WebGL. (6.4K stars)

## Comparisons

- [G6 vs xyflow](https://awesomedataviz.com/compare/g6-vs-xyflow/)
- [G6 vs Sigma.js](https://awesomedataviz.com/compare/g6-vs-sigma-js/)
- [Cytoscape.js vs G6](https://awesomedataviz.com/compare/cytoscape-js-vs-g6/)
- [G6 vs Vue Flow](https://awesomedataviz.com/compare/g6-vs-vue-flow/)

Source: https://awesomedataviz.com/tools/g6/ · Data updated 2026-10-04 · Content: CC BY 4.0, Awesome Dataviz (https://awesomedataviz.com).
