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

d2target: add support for box arrowheads #2256

Merged
merged 4 commits into from
Feb 4, 2025

Conversation

adamratson
Copy link
Contributor

@adamratson adamratson commented Dec 18, 2024

Add support for box arrowheads in d2target and d2sketch

Fixes #2227

I've updated tests where I've seen I should do so - please let me know if I've missed any!!

Pic:
image

Please let me know if I've missed anything - first time contributor so good chance I have!

I'll try and act on feedback over the week :)

Copy link
Collaborator

@alixander alixander left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @adamratson ! Sorry for the late review, hope you had a good holiday season.

The math doesn't seem to account for stroke width values. e.g. see circle here vs the boxes that overlap

Screenshot 2024-12-28 at 11 04 13 PM Screenshot 2024-12-28 at 11 04 25 PM

d2renderers/d2svg/d2svg.go Show resolved Hide resolved
e2etests-cli/testdata/TestCLI_E2E/theme-pdf.exp.pdf Outdated Show resolved Hide resolved
@pmoura
Copy link

pmoura commented Feb 1, 2025

Can this be completed in time for the next release? Thanks.

@alixander
Copy link
Collaborator

hi @adamratson let me know if you are still interested in pursuing this, thanks!

Copy link
Collaborator

@alixander alixander left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks again!

@alixander alixander merged commit 4b72e25 into terrastruct:master Feb 4, 2025
3 checks passed
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

Successfully merging this pull request may close these issues.

[feature request] box arrowhead
3 participants