It seems that providing '_' sign in the class name (e.g. 'unique_ptr') causes class diagram parsing error or is not supported.
I have also found the same issue. Could not find an alternative to specify the class name that would accept the underscore (tried specifying the class name in single and double quotes)
As a workaround: Replace '_' (Underscore) by '' (Blank).
This works for me. At least it does not break the class diagram.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
'' (Blank) does not work for me.
Is there a syntax related reason that _ is not supported ?
hi
any update please ?
@depfryer Hi, you're commenting on an issue that has been closed because it went stale. Does this issue still exist? If so, please be so kind to reproduce it in our live editor and provide the link to your repro. Thanks!
This should be supported at least as of 8.4.2. See link: https://mermaidjs.github.io/mermaid-live-editor/#/edit/eyJjb2RlIjoiY2xhc3NEaWFncmFtXG5jbGFzcyBDbGFzc18wMVxuQ2xhc3NfMDEgOiBpbnQgc29tZV9Qcm9wZXJ0eVxuQ2xhc3NfMDEgOiBTb21lX01ldGhvZCgpXG4iLCJtZXJtYWlkIjp7InRoZW1lIjoiZGVmYXVsdCJ9fQ