-
Notifications
You must be signed in to change notification settings - Fork 453
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
multiple classes with arrowheads not behaving correctly #1333
Labels
bug
Something isn't working
Comments
@ddolan-lutron thanks! it should work, can you paste what you're trying? |
indeed, this looks like a bug with arrowhead nested within classes, thank you for surfacing this |
alixander
changed the title
Feature Request: Apply multiple classes to connectors
multiple classes with arrowheads not behaving correctly
May 18, 2023
alixander
added
bug
Something isn't working
good first issue
Good for newcomers
and removed
good first issue
Good for newcomers
labels
May 18, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The D2 documentation calls out support for applying multiple classes to a single element, which is a quite useful feature. I've noticed that it is not supported for connectors. I had created classes to make it easier to apply cardinality to connectors in a class diagram, and I also wanted to create classes to apply formatting as to the type of association (e.g. Aggregation, Composition, Inheritance), but the array syntax is not supported for connectors, and attempting to apply multiple classes results in only the last class being applied. Being able to compose classes to create consistent connectors would be helpful, especially in the class diagram context.
Thanks for the young, but still great alternative to the existing field of diagrams-as-code tools!
The text was updated successfully, but these errors were encountered: