Skip to content
New issue

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

Mermaid Class Diagram incorrect in the Docs #5092

Closed
ad1992 opened this issue Dec 1, 2023 · 6 comments
Closed

Mermaid Class Diagram incorrect in the Docs #5092

ad1992 opened this issue Dec 1, 2023 · 6 comments
Labels
Close after 30 days Close issue if no response after 30 days Graph: Class Status: Resolved Type: Bug / Error Something isn't working or is incorrect

Comments

@ad1992
Copy link
Contributor

ad1992 commented Dec 1, 2023

Description

The class Diagram for Cardianlity and Multiplicity seems to be wrong as it is different from the mermaid live editor.

image

Additionally the height for the label many should slightly increase so its not cut off as well (Its cutting in both)

Steps to reproduce

Mentioned Above

Screenshots

Added Above

Code Sample

No response

Setup

  • Mermaid version:
  • Browser and Version: [Chrome, Edge, Firefox]

Suggested Solutions

No response

Additional Context

No response

@ad1992 ad1992 added Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect labels Dec 1, 2023
@ad1992
Copy link
Contributor Author

ad1992 commented Dec 1, 2023

This probably might be related to mermaid version being old in docs ?

@sidharthv96
Copy link
Member

This probably might be related to mermaid version being old in docs ?

I don't think so. Docs use the latest version of mermaid, it's sometime the live editor that has older mermaid versions.
I think there is an unreleased fix, so 10.6.2 might solve this.

@ad1992
Copy link
Contributor Author

ad1992 commented Dec 4, 2023

This probably might be related to mermaid version being old in docs ?

I don't think so. Docs use the latest version of mermaid, it's sometime the live editor that has older mermaid versions. I think there is an unreleased fix, so 10.6.2 might solve this.

Alright sounds good! Any ETA on the release date of 10.6.2 ? I am assuming all these bug fixes would also be pushed to the 10.6.2?

@sidharthv96
Copy link
Member

image

Yeah, seems like it's fixed in develop.

No fixed ETA on 10.6.2, you can follow progress in https://github.com/mermaid-js/mermaid/milestone/11

@sidharthv96 sidharthv96 added Close after 30 days Close issue if no response after 30 days Graph: Class Status: Resolved and removed Status: Triage Needs to be verified, categorized, etc labels Dec 4, 2023
@sidharthv96
Copy link
Member

You can use the release candidates for all development activities. There won't be much changes unless some major bug is discovered.

@jgreywolf
Copy link
Contributor

Closing as this issue is resolved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Close after 30 days Close issue if no response after 30 days Graph: Class Status: Resolved Type: Bug / Error Something isn't working or is incorrect
Projects
None yet
Development

No branches or pull requests

3 participants