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

@diagram annotation case-sensitivity is not consistent with e.g. @layout annotations #129

Open
NiklasRentzCAU opened this issue Nov 21, 2024 · 0 comments

Comments

@NiklasRentzCAU
Copy link
Member

The documentation for @layout annotations states that they are case-sensitive, with the example from the documentation @layout[elk.direction] UP being a valid annotation.
For @diagram annotations this is not stated how case sensitivity is handled. Unintuitively, the annotation @diagram[direction] VH does not work, though, as it requires choice option values to be lower-case only, so despite the visible "VH" name for the option, the annotation needs to be @diagram[direction] vh. This is inconsistent with the @layout annotation and not documented in the wiki page.

Which way do you want to use for this annotation? As-is with updated documentation to not break current examples or consistent with the other annotation?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant