sequenceDiagram messages appear with line through them
See original GitHub issueDescribe the bug
It seems that any version of MermaidJS >8.5.2 renders the sequence diagram messages with the line through them.
Once the version is downgraded to 8.5.2, the message labels appear correctly over the lines:
To Reproduce
(updated 2021-12-02)
Steps to reproduce the behavior:
git clone https://github.com/ourchitecture/hello-cloud/
- Run
make start-docs
(requires GNU Make anddocker
). This will build and start a MkDocs Material site using “./mkdocs.yml” and “./src/docs”. - Visit http://localhost:8000/hello-cloud/contribute/ to see the diagrams in action
- Edit the file “./mkdocs.yml” and upgrade the MermaidJS script:
extra_javascript: - "https://unpkg.com/mermaid@8.13.4/dist/mermaid.min.js"
- Hopefully, you also see the labels “pushed down” with the lines crossing through them …
Expected behavior
Message labels appear above the lines.
Screenshots
See above.
Code Sample
sequenceDiagram
participant C as Contributor
participant M as Maintainer
participant R as Repository
C->>R: Check roadmap
R->>C: tada
C->>R: Check roadmap
R->>C: teedee
Desktop (please complete the following information):
- OS: Windows Pro 11
- Browser: Firefox
- Version: 94.0.2
Smartphone (please complete the following information):
n/a
Additional context
n/a
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Instructions and Examples - SequenceDiagram.org
Messages. Messages are created by clicking and dragging in the diagram. Hold Shift before clicking for dashed line; Hold Ctrl before clicking for...
Read more >UML 2 Tutorial - Sequence Diagram - Sparx Systems
Sequence diagrams are good at showing which objects communicate with which other objects; and what messages trigger those communications.
Read more >Messages in UML diagrams - IBM
A message is an element in a Unified Modeling Language (UML) diagram that defines a specific kind of communication between instances in an...
Read more >Sequence Diagram Tutorial - Complete Guide with Examples
A sequence diagram is structured in such a way that it represents a ... The arrowhead used to show this type of message...
Read more >Sequence Diagram - Visual Paradigm
A sequence diagram is an interaction diagram that emphasizes the time-ordering of messages. It depicts the objects and classes involved in the scenario...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@Yash-Singh1 I’ve also updated the original “Steps to reproduce” with the lessons from above.
Thanks for the clear writeup! I just hosted the site locally and found out that this bug is Firefox-specific.
I actually don’t know SVG, but I did find a temporary CSS solution: