https://github.com/aviallon/dbml2dot
Converts DBML files to their graphviz representation in .dot format
https://github.com/aviallon/dbml2dot
Last synced: 3 months ago
JSON representation
Converts DBML files to their graphviz representation in .dot format
- Host: GitHub
- URL: https://github.com/aviallon/dbml2dot
- Owner: aviallon
- License: gpl-3.0
- Created: 2021-03-15T19:45:38.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-03-16T19:48:56.000Z (almost 4 years ago)
- Last Synced: 2024-10-13T11:15:42.635Z (4 months ago)
- Language: Python
- Size: 22.5 KB
- Stars: 8
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - aviallon/dbml2dot - Converts DBML files to their graphviz representation in .dot format (Python)
README
# dbml2dot
Author: Antoine VIALLON# Usage
```
pip install git+https://github.com/aviallon/dbml2dot.git
python -m dbml2dot -h
```### Example
```
python -m dbml2dot -i schema.dbml -o schema.dot --type svg
```
This will output two files, one named `schema.dot` corresponding to the generated dot output,
and a svg file corresponding to the graph generated by graphviz.