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

[elk] hidden arrowheads #2213

Open
bo-ku-ra opened this issue Nov 14, 2024 · 0 comments
Open

[elk] hidden arrowheads #2213

bo-ku-ra opened this issue Nov 14, 2024 · 0 comments

Comments

@bo-ku-ra
Copy link
Contributor

https://play.d2lang.com/?script=vI4xysJAEIX7PcUjfYafFD8yha2FoBewmd1NQjDsQNSAyN5dduMcwMavmzcfj7fKcmM0scP6R_-0a_ByQOzaoGmYRq4nMMtTH_e2T-OUekY_Xx2QXXbufNycQdVkYYhRA8_wxscBIiMaNcq10gFeFqsKjGDYe1AlQbsvHoXNp1CC8vEUy6zT4btZl_Tjhe8AAAD__w%3D%3D&

vars: "d2 v0.6.8" {
  d2-config: {
    layout-engine: elk
  }
}

OK: {
  foo: {
    a: aaaaaaaaa
    b: bbbbbbbbb {
      d: ddddddddd
    }
  }

  bar: {
    c: ccccccccc
  }

  foo.a -> bar.c
  bar.c -> foo.b.d
}

NG: {
  foo: {
    a: aaaaaaaaa
    b: bbbbbbbbb\nbbbbbbbbb {
      d: ddddddddd
    }
  }

  bar: {
    c: ccccccccc
  }

  foo.a -> bar.c
  bar.c -> foo.b.d
}

image

@cyborg-ts cyborg-ts added this to D2 Nov 14, 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