terrastruct / d2

D2 is a modern diagram scripting language that turns text to diagrams.

Home Page:https://d2lang.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issue with `direction: right` rendering

mpicard opened this issue · comments

Step to reproduce

direction: right

a: {
  b
}

c: {
  d
}

e: {
  f
}

a.b -> c.d
a.b -> e.f

Current State

The arrow looks wrong:
d2

Expected State

The arrow should look correct (but in left direction orientation):

d2 (1)