Enhancement to parse WebSequenceDiagrams #4943
Labels
Status: Triage
Needs to be verified, categorized, etc
Type: Bug / Error
Something isn't working or is incorrect
Description
I'm using Structurizr to generate dynamic views. It can export "Websequencediagrams".
They LOOK like Mermaid's SequenceDiagrams, but there are some implemenation differences.
I searched for Websequencediagrams but didn't see any issues, so I figured this was worth a request for an enhancement and/or bug fix.
Specifics:
When I generate a WebSequencediagram export , the exported lines look like this:
Yet in Notion.so, it generates this error:
If I fix that by removing
<<Person>>\n
it'll generate the same errors for<<Component>>\n
This seems like a bug or at least a needed enhancement. In WebSequenceDiagrams, it looks like this:
That seems to be a really useful enhancement.
Also, I find Websequencediagrams uses
->
to indicate a single arrow, while Mermaid expects->>
and-->>
. Mermaid seems to be superior in that sense to Websequencediagrams as it can't indicate a single line, I'm not sure if this could be fixed except maybe as some kind of directive, or an entirely new type of diagram.Maybe "webSequenceDiagram" as a type, but the label enhancements seem pretty useful.
Steps to reproduce
structurizr.sh export -w ANS.dsl -f websequencediagrams
Screenshots
Fixing that gives:
Code Sample
Setup
Suggested Solutions
Allow actor labels with embedded <<'s as well as translate the \n to a multiline label.
Additional Context
No response
The text was updated successfully, but these errors were encountered: