d2
d2 copied to clipboard
outside-x label position on elk causes slanted lines
On the current version of D2 (0.6.3) we're finding a problem that wasn't an issue on 0.6.1
When attaching a label to a container on the outside (example: outside-left-center), lines to and from that container render slanted
For example:
b: {
label.near: outside-left-center
label: Some Label
c
}
d
a -> b.c
b.c -> d
This also holds when using direction: right
direction: right
b: {
label.near: outside-top-left
label: Some Label
c
}
d
a->b.c
b.c->d
@VictorPato Why was this closed?
@alixander I was just closing old issues, AFAIK this is still a problem as I can still reproduce it on the playground. I'll reopen the issue.