Repository navigation
Releases
ERDTeX 4.1.0
ERDTeX 4.1.0 adds associative entity types.
- Associative entity types: a relationship type that other relationship types can take part in
(employees work on projects; the work uses machines), drawn as its diamond inside a rectangle:
\relationship[associative]{works}(4,0){works on}. In the LaTeX packageerdiagram3.1.0, and in the
editor: the tool Associative entity type (Ctrl+Shift+8), Kind in the Element pane, the modelling
rules, and the relational schema and SQL, where it gets a relation of its own that the relationship
types taking part in it refer to. - The weak form and back: Convert to weak entity type turns one into the equivalent weak entity type,
identified by its participants; Convert to associative entity type goes back. Two relationship types
linked directly get a fix that makes one of them associative. - Rule books: ER-41 explains associative entity types, ER-42 compares them with the weak form and with
a ternary relationship type, REL-23 shows their relations. - Attribute lists: a comma inside parentheses no longer ends an attribute, so
Amount : numeric(8,2)
needs no braces any more (package and editor). - The sample diagram (File → Open Example) shows an associative entity type.
Diagrams of earlier versions open and compile unchanged; a diagram with an associative entity type needs
erdiagram 3.1.0, which the program saves with Help → Save LaTeX Packages….
Downloads
| File | For | Tested |
|---|---|---|
ERDTeX-4.1.0-amd64.deb |
Debian 12, Ubuntu 22.04 and newer: sudo apt install ./ERDTeX-4.1.0-amd64.deb |
automatically only (installed and self-tested in clean Ubuntu 22.04 and Debian 12 containers) |
ERDTeX-4.1.0-x86_64.rpm |
Fedora: sudo dnf install ./ERDTeX-4.1.0-x86_64.rpm |
on a real Fedora, and in a clean Fedora container |
ERDTeX-4.1.0-setup.exe |
Windows 10 and 11 (64-bit), for the current user | automatically only (installed and self-tested under Wine) |
latex-packages-3.1.0.zip |
The LaTeX packages erdiagram 3.1.0 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.
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.