Ligature request: Mermaid's Entity Relationship Diagram
Nobody has claimed this yet.
- Dominant language
- Clojure
- Stars
- 82k
- Forks
- 3.2k
- PR merge metrics
- No merged PRs in 30d
Description
Would it be possible to add ligatures for Mermaid's ERD relationship notation?
As it is not a common use case, adding them as variants might be preferable.
Syntax specification:
- Either
|o||}o}|
- Always
-- - Either
o|||o{|{
Examples: }o--||, |o--|{
Possible problems may arise, as ||, |- and -| are already ligatures.
Hard-coding every possibility could possibly work.
Design:
- Either skewering them together on a line, and putting the characters closer

- Or resembling the actual mermaid output (see the arrows in the image below)

Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the existing ligatures for ||, |-, and -|, then compare the requested Mermaid ERD combinations such as }o--|| and |o--|{ with the two proposed visual designs. Done means the supported combinations render consistently without breaking the existing ligatures, with the final design choice resolved.
Written by the indexing model from the issue text.
Assessment
- Domain
- design
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100