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

[v0.6.1] Arrowheads reversed #1625

Open
bo-ku-ra opened this issue Sep 27, 2023 · 2 comments
Open

[v0.6.1] Arrowheads reversed #1625

bo-ku-ra opened this issue Sep 27, 2023 · 2 comments

Comments

@bo-ku-ra
Copy link
Contributor

ok

a: {
  grid-rows: 1
  grid-gap: 10
  b
  c
  b -> c
}

NG

a: {
  grid-rows: 1
  grid-gap: 0
  b
  c
  b -> c
}

c.f.

a: {
  grid-rows: 1
  grid-gap: 0
  b
  c
  b -- c
}

I might like below.

a: {
  grid-rows: 1
  grid-gap: 0
  b
  c
  b <-> c
}
@cyborg-ts cyborg-ts added this to D2 Sep 27, 2023
@alixander
Copy link
Collaborator

alixander commented Sep 27, 2023

Hmm this is kind of undefined territory. I'll leave this open for now, not sure what to do and low priority

@bo-ku-ra
Copy link
Contributor Author

i imagined the following design.

grid-rows: 1
grid-gap: 2
step1: {
  "Right hand up": {shape: text}
}
step2: {
  "Left hand up": {shape: text}
}
step3: {
  "Shut eyes": {shape: text}
}
step1 -> step2 -> step3: {style.stroke-width: 5}

https://play.d2lang.com/?l=&script=gvvOSsGQC-ZlKwUjLpArDKu5FJSCQL5WyEjMS1EoLVCqBjvZCmRZLVctWJURSJVPahpeRcYgRcEZpSUKqZWpxdhUGCro2imAzYPSxtVgf-oh-9xKwbSWi4sLEAAA__8%3D&

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

2 participants