You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When generating sequence diagrams with mmdc (mermaid-cli), the message lines (arrows between participants) are rendered with stroke="none" as an inline attribute, making them invisible in the output.
Steps to Reproduce
Create a simple sequence diagram:
sequenceDiagram
participant A as Alice
participant B as Bob
A->>B: Hello Bob!
B->>A: Hello Alice!
Environment
Description
When generating sequence diagrams with mmdc (mermaid-cli), the message lines (arrows between participants) are rendered with
stroke="none"as an inline attribute, making them invisible in the output.Steps to Reproduce
sequenceDiagram participant A as Alice participant B as Bob A->>B: Hello Bob! B->>A: Hello Alice!grep 'class="messageLine' diagram.svgExpected Behavior
Message lines should use the CSS class definition:
Where the CSS defines:
Actual Behavior
Message lines are rendered with inline
stroke="none":The inline
stroke="none"overrides the CSS class definition, making the lines invisible.Impact
Workaround
Post-process the SVG to remove the inline
stroke="none"attribute:Additional Context
Regression
This appears to affect all v11.x versions, suggesting it may have been introduced in the v11 rewrite.