Skip to content

ERDTeX 4.1.0

Latest

Choose a tag to compare

@Leunami52 Leunami52 released this 05 Dec 16:00

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 package erdiagram 3.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.