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

class diagram shows nothing with colon(:) or comma(,) inside tilde(~) #4815

Closed
sysescool opened this issue Sep 6, 2023 · 1 comment
Closed
Labels
Graph: Class Status: Resolved Type: Bug / Error Something isn't working or is incorrect

Comments

@sysescool
Copy link

sysescool commented Sep 6, 2023

Description

class SurfaceFlinger {
private:
    std::unique_ptr<scheduler::Scheduler> mScheduler;
    std::map<uid_t, Fps> mFrameRateOverridesFromGameManager;
}

you can try this:

classDiagram
    class SurfaceFlinger1 {
        - std::unique_ptr~scheduler::Scheduler~ mScheduler
    }

and this:

classDiagram
    class SurfaceFlinger2 {
        - std::map~uid_t, Fps~ mFrameRateOverridesFromGameManager
    }

but all of them show nothing

I think is maybe because of colon(:) or comma(,) inside tilde(~).

BTW, how to escape colon and comma in class Diagram ?

I searched Document and issue there is no introduction.

Steps to reproduce

copy below content to https://mermaid.live

classDiagram
    class SurfaceFlinger1 {
        - std::unique_ptr~scheduler::Scheduler~ mScheduler
    }

another:

classDiagram
    class SurfaceFlinger2 {
        - std::map~uid_t, Fps~ mFrameRateOverridesFromGameManager
    }

Screenshots

No response

Code Sample

No response

Setup

  • Mermaid version: v10.3.0
  • Browser and Version: Firefox: 113.0.2 (64-bit)

Suggested Solutions

No response

Additional Context

No response

@sysescool sysescool added Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect labels Sep 6, 2023
@sysescool sysescool changed the title std::unique_ptr~scheduler::Scheduler~ mScheduler shows nothing with colon(:) inside tilde(~). class diagram shows nothing with colon(:) or comma(,) inside tilde(~) Sep 6, 2023
@sidharthv96
Copy link
Member

This is fixed in develop.

image image

Please wait for the next release.

@sidharthv96 sidharthv96 added Graph: Class Status: Resolved and removed Status: Triage Needs to be verified, categorized, etc labels Sep 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Graph: Class Status: Resolved Type: Bug / Error Something isn't working or is incorrect
Projects
None yet
Development

No branches or pull requests

2 participants