terrastruct / d2

D2 is a modern diagram scripting language that turns text to diagrams.
https://d2lang.com
Mozilla Public License 2.0
18.03k stars 442 forks source link

Edge overlaps node #662

Open BarryNolte opened 1 year ago

BarryNolte commented 1 year ago

Linux version 5.15.0-57-generic (buildd@lcy02-amd64-110) (gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) SMP Thu Nov 24 13:43:17 UTC 2022

D2 v0.1.5

Run D2 on file containing the following:

f -> g -> h -> g -> f - h

g: { t -> n }

It renders like this: image

I'm not sure how much of a bug this is, or if it's by design, but I like my edges to go around my nodes.

MariusAlbrecht commented 1 year ago

seems to be an engine related issue: dagre playground image elk playground image tala playground image