Repository navigation
ERDTeX 4.0.0
The first public release of ERDTeX.
ERDTeX draws entity–relationship (ER) and Generic Semantic Model (GSM) diagrams for LaTeX, in two parts:
- The LaTeX packages
erdiagramandgsmdiagramdraw the diagrams with TikZ. Each is a single.styfile kept next to your document. A diagram is plain text, written in the document or kept in an.erdor.gsmdfile that the document includes. - The editor draws those files by drag and drop. It knows the modelling rules and explains each in its rule books (Help → Rule Books,
Shift+F1). It shows a LaTeX preview, arranges diagrams automatically, and turns ER diagrams into a relational schema (text, LaTeX or Markdown) and SQL for PostgreSQL, Oracle and SQLite. It also converts GSM diagrams to ER and exports PNG, PDF and SVG. It runs on Linux and Windows, and in the browser.
File → Open Example opens a sample diagram of each kind.
Downloads
| File | For | Tested |
|---|---|---|
ERDTeX-4.0.0-amd64.deb |
Debian 12, Ubuntu 22.04 and newer: sudo apt install ./ERDTeX-4.0.0-amd64.deb |
automatically only (installed and self-tested in clean Ubuntu 22.04 and Debian 12 containers) |
ERDTeX-4.0.0-x86_64.rpm |
Fedora: sudo dnf install ./ERDTeX-4.0.0-x86_64.rpm |
on a real Fedora, and in a clean Fedora container |
ERDTeX-4.0.0-setup.exe |
Windows 10 and 11 (64-bit), for the current user | automatically only (installed and self-tested under Wine) |
latex-packages-3.0.2.zip |
The LaTeX packages erdiagram and gsmdiagram 3.0.2 with their manuals: keep the .sty files next to your document |
compiled with TeX Live |
In the browser: leunami52.github.io/erdtex, no installation needed
(everything but the LaTeX preview; nothing you draw leaves your browser).
The installer isn't code-signed, so Windows SmartScreen may warn at the first start: More info → Run
anyway. The LaTeX preview and the export of the LaTeX result need pdflatex (TeX Live, or MiKTeX on
Windows). The user guide: app/README.md.