You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Luís Moreira de Sousa d688e4f6d9 Now dealing with exceptions: wrong table names and unknown column types 4 weeks ago
.gitignore Now dealing with exceptions: wrong table names and unknown column types 4 weeks ago
README.md Now dealing with exceptions: wrong table names and unknown column types 4 weeks ago
auter.py Now dealing with exceptions: wrong table names and unknown column types 4 weeks ago

README.md

Auter - automated E-R diagrams

This programs uses SQLAlchemy to inspect a relational database and generate a E-R diagram configuration for Mermaid.

Usage

python3 auter.py my_table my_other_table > out.mm

mmdc -i out.mm -o out.png

eog out.png

Markdown embbeding

By now, all the three major git-based software forges support mermaid diagrams embbeded in Markdown documents: Gitea, GitLab and GitHub. You can get the mermaid code directly in the command line with auter:

python3 auter.py my_table my_other_table