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

line hits 'near: top-center' in elk" #2317

Closed
bo-ku-ra opened this issue Jan 31, 2025 · 0 comments · Fixed by #2327
Closed

line hits 'near: top-center' in elk" #2317

bo-ku-ra opened this issue Jan 31, 2025 · 0 comments · Fixed by #2327

Comments

@bo-ku-ra
Copy link
Contributor

https://play.d2lang.com/?script=rE_BauswELzvVwzOISeJPL9Sigz5iP7B2lo7IooUVkogNf73YreFtufuYdmZWXZn7qzFNb7F_WCf7UuDmQDfmiGnMUxug0DkR75VI2kKSRwknrHbelZ4nlS2rSt7h3-HdR4kVVGHkWNZxYUWohpqFIfGB56UL9gwHF7FmxiS4BRqwT4Jq0PNV_NxZY-Q1mcNZvzWOpwkTKfq8NR2KPURxY45VVPCmzj8bzt8sn1WL2qUfbgVh_bQLbSD-ZMinonNsaeF-pmGNSvb3hx7O1BvB3Nky_M3c0OOWR1U_JfnUjWf5Qc1hhgdLqHUh-Yi3UJE7wEAAP__&

vars: "d2 v0.6.8" {
  d2-config: {
    layout-engine: elk # elk or dagre
    pad: 10
    center: false
  }
}

title: "diagram title : Red-line hits 'near: top-center' in elk" {near: top-center; height: 42; style.font-size: 32; style.border-radius: 20}
# ----------------------------------------------------------------------
a: {
  a -> b
}
b: {
  c
}

a.b -> b.c
b.c -> a.a: {style.font-color: red; style.stroke: red; style.fill: mistyrose}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant