We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
For a group named identity provider (IDP) in the DSL, I expect valid Mermaid output.
identity provider (IDP)
The generated mmd contains:
subgraph group1 [identity provider (IdP)] ... end
Mermaid chokes on this because of the parentheses "()".
create the following dsl:
workspace { model { ss = softwareSystem "MySoftware" { group "identity provider (IdP)" { keycloak = container "KeyCloak" } } } }
Export it to Mermaid, then try to render output file structurizr-Container-001.mmd.
structurizr-Container-001.mmd
structurizr-cli: 2024.07.03 structurizr-java: 2.2.0 structurizr-dsl: 2.2.0 structurizr-export: 2.2.0 structurizr-import: v2.2.0 Java: 22.0.2/Homebrew (/usr/local/Cellar/openjdk/22.0.2/libexec/openjdk.jdk/Contents/Home) OS: Mac OS X 13.6.9 (x86_64)
Major
I have no budget and there's no rush, please fix this for free
It would be safer to put the group name in quotes, as in:
subgraph group1 ["identity provider (IdP)"] ... end
More in general, quoting and escaping for Mermaid could be improved, not only for groups, but for all elements.
The text was updated successfully, but these errors were encountered:
ce11bf3
No branches or pull requests
Expected
For a group named
identity provider (IDP)
in the DSL, I expect valid Mermaid output.Actual
The generated mmd contains:
Mermaid chokes on this because of the parentheses "()".
Steps to reproduce
create the following dsl:
Export it to Mermaid, then try to render output file
structurizr-Container-001.mmd
.Version/build information
structurizr-cli: 2024.07.03
structurizr-java: 2.2.0
structurizr-dsl: 2.2.0
structurizr-export: 2.2.0
structurizr-import: v2.2.0
Java: 22.0.2/Homebrew (/usr/local/Cellar/openjdk/22.0.2/libexec/openjdk.jdk/Contents/Home)
OS: Mac OS X 13.6.9 (x86_64)
Severity
Major
Priority
I have no budget and there's no rush, please fix this for free
More information
It would be safer to put the group name in quotes, as in:
More in general, quoting and escaping for Mermaid could be improved, not only for groups, but for all elements.
The text was updated successfully, but these errors were encountered: