Skip to content

eralchemy2

Requirements


sudo apt-get install -y python3-dev
sudo apt-get install -y libgraphviz-dev
pip install pygraphviz
pip install psycopg2-binary
pip install eralchemy2


brew install graphviz
export GRAPHVIZ_DIR="$(brew --prefix graphviz)"
pip install pygraphviz \
    --global-option=build_ext \
    --global-option="-I$GRAPHVIZ_DIR/include" \
    --global-option="-L$GRAPHVIZ_DIR/lib"
pip install pygraphviz
pip install psycopg2-binary
pip install eralchemy2

Examples



eralchemy2 -i sqlite:///relay/data/nostr.db -o erd_from_sqlite

Supported Formats

Sources