https://github.com/morinokami/py3dot
Python 3 interface for Graphviz
https://github.com/morinokami/py3dot
Last synced: 4 months ago
JSON representation
Python 3 interface for Graphviz
- Host: GitHub
- URL: https://github.com/morinokami/py3dot
- Owner: morinokami
- Created: 2015-06-01T13:52:55.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-06-04T06:39:33.000Z (about 10 years ago)
- Last Synced: 2025-03-11T11:14:27.637Z (4 months ago)
- Language: Python
- Size: 168 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
py3dot
======py3dot is a Python 3 interface for Graphviz.
Usage
-----Create a simple digraph and draw the graph.
```py
from py3dot import Graphgraph = Graph()
graph.add_edges_from([('A', 'B'), ('A', 'C'), ('B', 'D')])
graph.save_fig('my_graph.png') # yields following fig.
```
