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

Add padding around edge labels #2097

Open
i-am-the-slime opened this issue Sep 15, 2024 · 0 comments
Open

Add padding around edge labels #2097

i-am-the-slime opened this issue Sep 15, 2024 · 0 comments

Comments

@i-am-the-slime
Copy link

In #2030 there's an example of a somewhat good-looking diagram. It has padding around edge labels.
The same goes for #920 . The current padding is so tight, that with certain fonts and settings (#1099) the text becomes unreadable.
I was hoping that as a workaround it'd be possible to just prefix and suffix the labels with a space character but that also doesn't work.

Rather, the opposite is true as can be witnessed in this example:

image
@cyborg-ts cyborg-ts added this to D2 Sep 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant