Metadata-Version: 2.2
Name: sp-graph-layout
Version: 0.0.1
Summary: A library for visualizing directed graphs.
License: MIT
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: C++
Classifier: Operating System :: OS Independent
Project-URL: Homepage, https://github.com/CyberZHG/GraphLayout
Project-URL: Repository, https://github.com/CyberZHG/GraphLayout
Project-URL: Issues, https://github.com/CyberZHG/GraphLayout/issues
Project-URL: Documentation, https://cyberzhg.github.io/GraphLayout/
Requires-Python: >=3.8
Provides-Extra: test
Requires-Dist: pytest; extra == "test"
Requires-Dist: black; extra == "test"
Requires-Dist: isort; extra == "test"
Requires-Dist: flake8; extra == "test"
Description-Content-Type: text/markdown

Graph Layout
============

A library for visualizing directed graphs. 

[Demo](./demo)

|         rank dir = TB          |         rank dir = LR          |
|:------------------------------:|:------------------------------:|
| ![](doc/image/example1_tb.svg) | ![](doc/image/example1_lr.svg) |
| ![](doc/image/example2_tb.svg) | ![](doc/image/example2_lr.svg) |

## Requirements

MacOS:

```bash
brew install cairo pango pkg-config
```

Linux:

```bash
sudo apt install libcairo2-dev libpango1.0-dev pkg-config
```

## Development

Add the following to CMake options to enable tests:

```bash
-DGRAPH_LAYOUT_ENABLE_TESTS=ON
```
