Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Chen Notation for ER-diagrams #1718

Merged
merged 25 commits into from Mar 21, 2024

Conversation

Benjamin-Davies
Copy link
Contributor

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 arnaudroques merged commit 4afe3ef into plantuml:master Mar 21, 2024
9 checks passed
@arnaudroques
Copy link
Contributor

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
:-)

@Benjamin-Davies Benjamin-Davies deleted the cheneer branch March 23, 2024 07:33
The-Lum added a commit to The-Lum/vscode-plantuml that referenced this pull request Apr 10, 2024
Add keywords:
- `relationship`

New PlantUML Keywords from: 
- plantuml/plantuml#1718
The-Lum added a commit to The-Lum/plantuml that referenced this pull request Apr 10, 2024
According to `Chen` diagram and new PlantUML Keywords from:
- plantuml#1718

Add `Chen` diagram on:
- Syntax _(improve Language Descriptor (to follow plantuml/backlog#4))_
- Sub-diagram
- Readme

_(Similar to plantuml#1669)_
_[FYI @Benjamin-Davies]_
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants