We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
shape
I am trying to model a class, which has a property named shape (defined by another library, so unfortunately I can't change its name).
The following workarounds don't work:
myclass: { shape: class # quote "shape": String } myclass: { shape: class # capitalize Shape: String }
I always get the following error:
4:12: unknown shape "String"
It would be nice to somehow escape custom properties named shape 😀
Add possibility to escape custom properties named shape in UML diagrams.
Try to compile one of these examples (eg in https://play.d2lang.com/)
The text was updated successfully, but these errors were encountered:
Nvm: Adding visibility to the shape field solves the problem.
myclass: { shape: class +shape: a }
Sorry, something went wrong.
No branches or pull requests
I am trying to model a class, which has a property named
shape
(defined by another library, so unfortunately I can't change its name).The following workarounds don't work:
I always get the following error:
It would be nice to somehow escape custom properties named
shape
😀Possible Solution
Add possibility to escape custom properties named
shape
in UML diagrams.Steps to Reproduce
Try to compile one of these examples (eg in https://play.d2lang.com/)
The text was updated successfully, but these errors were encountered: