Open jameshowison opened 1 year ago
I'd take a shot at implementing this, any guidance?
It would be nice to have a relationship line starting from attribute/column to referenced PK & Entity Also arranging Entities and relationship lines can became messy, would be good to allow different options to arrange it
Proposal
The ER diagram is great. For teaching, I like to use ER diagrams with just straight lines and the crows foot, avoiding the minimum cardinality and optionality.
(why? I find these add complexity for students who are learning where foreign keys go, and these elements of modeling don't impact relational table/column layout).
I know this is also not available in PlantUML notation, so it might be tricky. But perhaps just dropping the
0
and|
parts or the relationships? Or adding a-
to indicate not including either the one or the 0Equally one could argue for just adding to the aliases
one
andmany
(whereone
is rendered as a|
through one end of the line, I could definitely work with that rather than the empty line ending).I guess I'd like to have the full set of options depicted in the lower half of https://www.vivekmchawla.com/erd-crows-foot-relationship-symbols-cheat-sheet/
Example
Here I'm using the
>
or<
symbol to represent a crowsfoot.or
Screenshots
No response