# @antv/algorithm

> graph algorithm

Latest version **0.1.26** (published 2023-08-03) · MIT license · 0 weekly downloads

## Install

```sh
npm install @antv/algorithm
pnpm add @antv/algorithm
yarn add @antv/algorithm
bun add @antv/algorithm
```

## Health

**Score 30/100 (F)** — status: abandoned.

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

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.26 |
| Published | 2023-08-03 |
| First published | 2020-12-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 2 |
| Unpacked size | 1.2 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 105 |
| Author | https://github.com/orgs/antvis/people |
| Maintainers | lvisei, yisi.wang, basketduck, biupiubiupiu, flash1, dreammy23, laixingui.lxg, zhangjunjie-loki, rainy25ghz, zeyuwang, yanxiong, susiwen8, freestyle21, soundquiet, elaine.q.10, sturuby, sakuya223, serializedowen, xdzhao, yangzhanmei, wjgogogo, leungwensen, dori, iaaron, yard, simaq, dxq613, intchous, susan_ann, jinke.li, lzxue, army8735, atool, baizn, dengfuping, neoddish, jeffy2012, zqlu, afc163, pomelo-nwu, kopiluwaky, ccnuzindex, panyuqi, bubkoo, zengyue, kasmine, boyu.zlj, l1ud0ngq1, newbyvector, winniexing, chenluli, kn9117, xdddst, semious2020, esora, nadia_liu, bbsqq, mxz96102, openwayne, pearmini, pddpd, yiqianyao, zhanba, cxxxxxn |
| Keywords | graph, algorithm, antv, G6 |

## Links

- npm: https://www.npmjs.com/package/@antv/algorithm
- Repository: https://github.com/antvis/algorithm
- Homepage: https://g6.antv.vision
- Issues: https://github.com/antvis/algorithm/issues
- npm.io page: https://npm.io/package/@antv/algorithm

## Dependencies (2)

- [tslib](https://npm.io/package/tslib.md) ^2.0.0
- [@antv/util](https://npm.io/package/@antv/util.md) ^2.0.13

## Alternatives

- [apollo-link-http-common](https://npm.io/package/apollo-link-http-common.md) — 879.0K weekly downloads
- [react-relay](https://npm.io/package/react-relay.md) — 336.8K weekly downloads
- [relay-test-utils](https://npm.io/package/relay-test-utils.md) — 181.6K weekly downloads
- [@vendure/core](https://npm.io/package/@vendure/core.md) — 14.8K weekly downloads
- [@pnpm/deps.graph-sequencer](https://npm.io/package/@pnpm/deps.graph-sequencer.md) — 13.4K weekly downloads

## Recent versions

- 0.1.26 (latest) — 2023-08-03
- 0.1.26-beta.0 (beta) — 2023-04-06
- 0.1.25 — 2022-09-07
- 0.1.24 — 2022-05-25
- 0.1.23 — 2022-03-03
- 0.1.22 — 2022-02-16
- 0.1.21 — 2022-01-07
- 0.1.20 — 2022-01-05
- 0.1.19 — 2022-01-04
- 0.1.18 — 2021-12-30
- 0.1.17 — 2021-12-16
- 0.1.16 — 2021-12-13
- 0.1.15 — 2021-12-08
- 0.1.14 — 2021-12-03
- 0.1.13 — 2021-10-27
- … 32 more at https://npm.io/package/@antv/algorithm/versions

## README

### AntV Algorithm
AntV 算法包，包括图算法及其他各类算法。

graph 包下面包括的都是图算法。

AntV 共支持以下图算法：
- adjacentMatrix
- connectedComponent
- degree：in degree、out degree
- detectCycle
- dfs
- dijkstra
- findPath：short path、all path
- floydWarshall
- labelPropagation
- louvain
- pageRank
- neighbors

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