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

Add branching link to Entity Relationship Diagrams or add blank element #5894

Open
TeUm3048 opened this issue Sep 24, 2024 · 0 comments
Open
Labels
Status: Triage Needs to be verified, categorized, etc Type: Enhancement New feature or request

Comments

@TeUm3048
Copy link

Proposal

Mermaid.js should add a branching link, because in some cases, creating ER diagrams for entities (not tables) needs to draw the relationships between 3 or more entities.

PlantUML allows you to do it in two ways:
1. Connect to existing link (only 1 link can be associated by this way) — Example 1
2. Add diamond pseudo-element add connect to it — Example 2

Example

I propose a new syntax to add a pseudo-element

erDiagram

(pseudo01) --|{ entity01
(pseudo01) --|{ entity02
(pseudo01) --|{ entity02


%% And also this syntax is possible to create a pseudo-element alone
%% BUT it's useless, because pseudo-element doesn't have any attributes 
(pseudo) {}

Screenshots

I see pseudo-element like a little dot, that appears across the links, similar to the first PlantUML example.

IMHO, diamonds look too heavy and unimpressive.

@TeUm3048 TeUm3048 added Status: Triage Needs to be verified, categorized, etc Type: Enhancement New feature or request labels Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Triage Needs to be verified, categorized, etc Type: Enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant