Skip to content

Create Entity-Relationship Diagrams from SQL Create statements using d2lang and dioxus rust

License

Notifications You must be signed in to change notification settings

mdauthentic/db2erd

Repository files navigation

DB2ERD

DB2ERD

Database to ER diagram (DB2ERD) is a desktop app that converts SQL CREATE statements into ER diagram using d2lang for generating the diagram and Dioxus(Rust crossplatform app development library) for bundling the desktop app.

This is still a work in progress, but it is possible to generate d2 diagrams with the app as it is.

Requirements

This app assumes that you have already installed D2 locally. Find more about the installation here.

To check that your local installation is working correctly, run:

d2 version

Build

This is currently a desktop-only app.

Clone the project and run the following command

cd /project_directory
cargo run