plantuml / plantuml

Generate diagrams from textual description
https://plantuml.com
Other
9.65k stars 878 forks source link

Implement Chen Notation for ER-diagrams #1718

Closed Benjamin-Davies closed 1 month ago

Benjamin-Davies commented 1 month ago

Implements #945

Allows users to conceptually describe database models as Entity-Relational diagrams using Chen's notation. Although this notation appears to have fallen out of use, it is still taught in universities, so it would be nice if those students could use more modern tooling to draw their ER diagrams.

In addition to parsing the new file format, I've also added some new rendering classes as there was no existing way to draw diamonds with text in them or subset symbols in the middle of links.

I've added some simple nonreg tests to test the rendering output. I've also added some tests for the behaviour of the new commands.

arnaudroques commented 1 month ago

You really did a great job! Many thanks for your contribution.

Now you can think about document it on http://alphadoc.plantuml.com/doc/markdown/en/er-diagram :-)