Metadata-Version: 2.1
Name: simple-graph
Version: 0.0.2
Summary: A smart match package
Home-page: https://github.com/jiayingwang/simple_graph
Author: Jiaying Wang
Author-email: jiaying@sjzu.edu.cn
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown

# Introduction

The simple-graph module contains basic functions for graph.

# License

simple-graph is a free software. See the file LICENSE for the full text.

# Install
```python
pip install simple-graph
```

# Usage
```python
from simple_graph import Graph
G = Graph()
G.add_edge(1, 2)
print(G.has_edge(1, 2))
```
```shell
ouput: True
```

```python
G = Graph({0: [1, 2], 1: [2]})
print(G.neighbors(0))
```

```shell
output: [1, 2]
```

# Authors

![qrcode_for_wechat_official_account](https://wx3.sinaimg.cn/mw1024/bdb7558bly1gjo23b3jrmj207607674r.jpg)



