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

Allow puncutation in class names #6076

Open
jgreywolf opened this issue Nov 23, 2024 · 2 comments
Open

Allow puncutation in class names #6076

jgreywolf opened this issue Nov 23, 2024 · 2 comments
Assignees
Labels
Status: Triage Needs to be verified, categorized, etc

Comments

@jgreywolf
Copy link
Contributor

          I don't know how you folks see this. I feel like not allowing punctuation in a class name is a show stopper.

image
image
What can I do about it?

Originally posted by @michimussato in #1546 (comment)

@jgreywolf
Copy link
Contributor Author

From: @michimussato
Getting there, but still not quite...
Introduced some unexpected behavior:

classDiagram
    class my.module.MyClass {
        __init__(self)
        __hash__(self)
    }

results in:
image

@jgreywolf
Copy link
Contributor Author

jgreywolf commented Nov 23, 2024

From @michimussato

Apparently, backticking the class name gives me the desired result:

5

[...]
class `some.modules.Class` {
   processNestedSchemas(self) 
}
[...]
node10  -->  `some.modules.Class`
`some.modules.Class`  -->  node9 
`some.modules.Class`  -->  node3 
node10  -->  node7 
`some.modules.Class`  -->  node8 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Triage Needs to be verified, categorized, etc
Projects
None yet
Development

No branches or pull requests

1 participant