mermaid-js / mermaid

Generation of diagrams like flowcharts or sequence diagrams from text in a similar manner as markdown
https://mermaid.js.org
MIT License
70.16k stars 6.24k forks source link

`classDiagram` self-referencing easily produces overlapping texts #1647

Closed init-dcat-ap-de closed 12 months ago

init-dcat-ap-de commented 4 years ago

Describe the bug If you have two self-referencing relations in a class, and give them a text, text is probably always overlapping.

To Reproduce https://mermaid-js.github.io/docs/mermaid-live-editor-beta/#/edit/...

classDiagram
  a --> a : alittlebitoftext
  a --> a : shorttitle

grafik

Expected behavior Minimum expected behaviour would be: grafik (As PlantUML handles this.)

jgreywolf commented 1 year ago

@init-dcat-ap-de This looks to be working as demonstrated in screenshot with current version of mermaid

jgreywolf commented 1 year ago

I will be closing this as wont fix/resolved next week if no response

jgreywolf commented 12 months ago

Closing due to lack of response/activity