-
Notifications
You must be signed in to change notification settings - Fork 422
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
align "┌ ─ ┐ │ └ ┘" #860
Comments
i think best: better: |
i think we have to use border-image for this lol. https://developer.mozilla.org/en-US/docs/Web/CSS/border-image i'll tag as low-priority because that's just how CSS is. but if someone wants to try it, be my guest |
Hi, I want to tackle this issue so I start to understand the codebase. Is it ok? Replicating the IssueTo simulate the issue can it be done just using the following code? 1 -> 2
classes: {
dashed: {
style: {
stroke-dash: 5
}
}
}
1: {
class: dashed
3: {
class: dashed
5: {
class: dashed
}
7: {
class: dashed
}
5 -> 7
}
}
2: {
class: dashed
4: {
class: dashed
6: {
class: dashed
}
8: {
class: dashed
}
6 -> 8
}
}
|
@Nepo26 no, when it's parent-child, it's far apart enough that no one will notice. https://play.d2lang.com/?script=qqhMS7NSqOZSUAAbqIcSblYKJUWlqXA5JJdYKRhx1XIBAgAA__8%3D& |
Oh Okay. Makes sense then. |
this is not a beauty like d2 works. |
So hey. I looked more into this issue. And this is what I found and how I am trying to make it work. My Thought Process
In the end what am I doing?I'm trying to replicate the DashedOutlineBox and the getPerfectDashProps to allow us the to create better boxes. |
@Nepo26 nice find! indeed, tldraw's dash treatment is 👨🍳 👌 . steve is a legend. |
https://play.d2lang.com/?l=&script=pJG7SsVAEIb7eYq_jEVkZ-87Qp4kjZiAFtlAiIjIvLusgnjK7Gm-KYbvZy5_xxYs-0clxjjBNrgG3xAotpIackPBOLEhFvBch7qfeHk-1gd8_Qz0ePMqwXm8r0_4bf3bTMBKVmDvibBKTuDmOrxu22XbKXmB77S9UhCETjsoRUGc67C8HefnZT8qJUHq9pNSFuRuPysVQen2ixIbAZvuBDZK3wEAAP__&
The text was updated successfully, but these errors were encountered: