# @ant-design/graphs

> A React graph library based on Graphin

Latest version **2.1.1** (published 2025-08-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install @ant-design/graphs
pnpm add @ant-design/graphs
yarn add @ant-design/graphs
bun add @ant-design/graphs
```

## Health

**Score 50/100 (C)** — status: stable.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: stale.

## Facts

| | |
|---|---|
| Version | 2.1.1 |
| Published | 2025-08-14 |
| First published | 2021-11-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 6 |
| Unpacked size | 7 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2237 |
| Maintainers | banxuan, afc163, kn9117, pearmini |
| Keywords | antv, g6, graph, graph analysis, graph editor, graph visualization, relational data, react |

## Links

- npm: https://www.npmjs.com/package/@ant-design/graphs
- Repository: https://github.com/ant-design/ant-design-charts
- Homepage: https://github.com/ant-design/ant-design-charts#readme
- Issues: https://github.com/ant-design/ant-design-charts/issues
- npm.io page: https://npm.io/package/@ant-design/graphs

## Dependencies (6)

- [lodash](https://npm.io/package/lodash.md) ^4.17.21
- [@antv/g6](https://npm.io/package/@antv/g6.md) ^5.0.44
- [@antv/graphin](https://npm.io/package/@antv/graphin.md) ^3.0.4
- [styled-components](https://npm.io/package/styled-components.md) ^6.1.15
- [@ant-design/charts-util](https://npm.io/package/@ant-design/charts-util.md) 0.0.1-alpha.7
- [@antv/g6-extension-react](https://npm.io/package/@antv/g6-extension-react.md) ^0.2.0

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 2.1.1 (latest) — 2025-08-14
- 2.0.3-alpha.0 (alpha) — 2024-12-11
- 2.0.0-beta.4 (beta) — 2024-09-27
- 2.1.0 — 2025-05-14
- 2.0.5 — 2025-03-12
- 2.0.4 — 2024-12-20
- 2.0.3 — 2024-12-13
- 2.0.2 — 2024-12-10
- 2.0.1 — 2024-11-15
- 2.0.0 — 2024-10-28
- 2.0.0-beta.3 — 2024-09-27
- 2.0.0-beta.2 — 2024-09-25
- 2.0.0-beta.1 — 2024-09-25
- 2.0.0-beta.0 — 2024-09-25
- 1.4.2 — 2024-06-19
- … 51 more at https://npm.io/package/@ant-design/graphs/versions

## README

# @ant-design/graphs

---
_Source: https://npm.io/package/@ant-design/graphs · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
