Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tervay/graphing
https://github.com/tervay/graphing
Last synced: 16 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/tervay/graphing
- Owner: tervay
- Created: 2021-05-23T21:32:49.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-05-24T22:34:30.000Z (over 3 years ago)
- Last Synced: 2024-11-09T12:12:34.620Z (about 2 months ago)
- Language: Python
- Size: 5.86 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
Requires python 3.6+.
You may need to [install graphviz on your system](https://pygraphviz.github.io/documentation/stable/install.html#recommended):
```
$ sudo apt-get install graphviz graphviz-dev
```Install via
```
$ pip install -r requirements.txt
```Edit mentor history in `sample_history.py`.
History is saved as a dictionary that maps names -> team history. Team history is a list of lists, where each element of the outer list is a "moment" in time. For example,
```
sample = {
"Brian": [[1257], [2791], [333]],
"Justin": [[2791], [340], [340, 5254], [5254]],
}
```This shows that Justin was on only 2791 at one point, then only 340, then both 340 and 5254, then only 5254. It also shows that Brian was only on 1257, then only on 2791, then only on 333.
Run via
```
$ python sample_save.py
```There will be images saved in `out/`.