Skip to main content
psanchez_everhealth
Oct 17, 2024 9:15 PM UTC
Solved

Mermaid bug with class diagram namespaces and relationships

Hey all,

It seems the version of mermaid that is getting used has an old bug in the mermaid renderer that causes attributes in classes to not get rendered if they’re in a namespace and there’s associations. The mermaid GitHub issue and PR here has details on simple ways to reproduce it. I’m guessing this may be due to using an older version of mermaid than when this was fixed? Seems it was fixed as of mermaid version 10.2.4.

Trevor JAnswer
Lucid product team
Feb 5, 2025 8:44 PM UTC

​@GaryZ and ​@psanchez_everhealth ,

Apologies for the delay in communication. The version of mermaid compatible with this feature has been added to this Lucid Help Center page under the FAQ section. https://help.lucid.co/hc/en-us/articles/29549366940948-Diagram-as-code-with-Mermaid-in-Lucidchart

At the time of this posting, the current version is 10.2.3

 

Comments

Lucid product team
Oct 17, 2024 10:17 PM UTC

Hi @psanchez_everhealth,

Thank you for reporting this! We’ll look into getting this updated.

Translate
Lucid Legend Level 3
Dec 31, 2024 10:26 PM UTC

Hi @psanchez_everhealth,

Thank you for reporting this! We’ll look into getting this updated.

Can you at least update the documentation for the Mermaid feature to include which version is bundled within Lucid? It is frustrating to use features that are available in the main release but will break when copied into Lucid

Translate
psanchez_everhealth
Feb 5, 2025 8:18 PM UTC

Hi @psanchez_everhealth,

Thank you for reporting this! We’ll look into getting this updated.

Can you at least update the documentation for the Mermaid feature to include which version is bundled within Lucid? It is frustrating to use features that are available in the main release but will break when copied into Lucid

That’s a pretty good idea. You should probably submit it as another suggestion, not sure if they’re tracking this conversation anymore.

Translate
Trevor JAnswer
Lucid product team
Feb 5, 2025 8:44 PM UTC

​@GaryZ and ​@psanchez_everhealth ,

Apologies for the delay in communication. The version of mermaid compatible with this feature has been added to this Lucid Help Center page under the FAQ section. https://help.lucid.co/hc/en-us/articles/29549366940948-Diagram-as-code-with-Mermaid-in-Lucidchart

At the time of this posting, the current version is 10.2.3

 

Translate