<h1 align="center">
<b>@antv/graphlib</b>
</h1>

<div align="center">

> A library containing multible usages for graph structure, graph algorithm, and other graph ops.
>
> 一个包含方便的图结构，图算法，以及其他操作图的方法的图库，为 AntV 上层提供相应的图基础能力。

[![build](https://github.com/antvis/graphlib/actions/workflows/build.yml/badge.svg)](https://github.com/antvis/graphlib/actions/workflows/build.yml)
[![Coverage Status](https://coveralls.io/repos/github/antvis/graphlib/badge.svg?branch=master)](https://coveralls.io/github/antvis/graphlib?branch=master)
[![npm Version](https://img.shields.io/npm/v/@antv/graphlib.svg)](https://www.npmjs.com/package/@antv/graphlib)
[![npm Download](https://img.shields.io/npm/dm/@antv/graphlib.svg)](https://www.npmjs.com/package/@antv/graphlib)
[![npm License](https://img.shields.io/npm/l/@antv/graphlib.svg)](https://www.npmjs.com/package/@antv/graphlib)

</div>

## ✨ Features

- Manage graph structure data with simple APIs.
- Easily batch multiple changes for performance optimization.
- GraphView for efficient data transformation.

## 📖 API

### Classes

- [Graph](docs/classes/Graph.md)
- [GraphView](docs/classes/GraphView.md)

## 🗂 Change Log

#### 2.0.2

- feat: supports undefined parent as unsetting parent for setParent API;

#### 2.0

- 🎉 Release new version

## 📄 License

MIT@[AntV](https://github.com/antvis).