8000 Inconsistent spacing between attributes and methods in class diagram · Issue #5562 · mermaid-js/mermaid · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Inconsistent spacing between attributes and methods in class diagram #5562
Closed
@aubertc

Description

@aubertc

Description

In the following:

classDiagram
class ClassName {
-attribute : type
- attribute : type

+GetAttribute() type
+ GetAttribute() type
}

the space is preserved between - and attribute, but not between + and GetAttribute:

image

Steps to reproduce

Simply enter the above code in an editor, like https://mermaid.live/edit#pako:eNptzzsOwjAMBuCrWJ5ALRfIhkBiY2HN4jZuGymPKnGGqurdCVAmWCz_nyzZXrGPhlFh7yjnq6UxkdfhneDyqnfyDKsOJxJJtivCoECWmSvBr-nQ3FjOXz8cd2_gL2_YoufkyZp6RF0DoFEm9qxR1dbwQMWJxs8oFYmPJfSoJBVuMcUyTqgGcrmmMhsS3p_YdXsCu55P9A

Screenshots

No response

Code Sample

No response

Setup

  • Mermaid version:10.9.1

Suggested Solutions

No response

Additional Context

No response

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0