Commit graph

28 commits

Author SHA1 Message Date
Alexander Wang
2b3faf8f64
fix dagre edge label overlaps 2023-01-06 12:18:26 -08:00
Alexander Wang
115d6e4147
default layouts 2022-12-30 13:36:49 -08:00
Alexander Wang
1831af5308
add tags to dagre 2022-12-30 13:26:01 -08:00
Alexander Wang
4b99bc30a7
elk/dagre name consistency 2022-12-30 12:25:33 -08:00
Alexander Wang
eccec7afdd
elk 2022-12-29 22:43:01 -08:00
Alexander Wang
590caa243c
works 2022-12-29 21:11:45 -08:00
Gavin Nishizawa
707f5b9dd7
set dagre ranksep according to max edge label size 2022-12-20 16:05:35 -08:00
Gavin Nishizawa
e2b510a1c8
improve label placement for shapes with icons 2022-12-19 20:48:01 -08:00
Gavin Nishizawa
90846c6599
update label positions for images 2022-12-19 20:02:00 -08:00
Anmol Sethi
d4d6c760e5
d2dagrelayout: Fix regexp
See https://github.com/terrastruct/d2/pull/394#discussion_r1042504655
2022-12-07 19:21:56 -08:00
Júlio César Batista
8764dfb78b
Fixes issues with special chars in dagre ids 2022-12-06 13:44:59 -08:00
Gavin Nishizawa
861338e731
use backticks when applicable 2022-12-05 13:24:40 -08:00
Gavin Nishizawa
f5d46b0584
refactor 2022-12-05 13:15:43 -08:00
Gavin Nishizawa
5b5f9e0923
comment 2022-12-05 12:00:10 -08:00
Gavin Nishizawa
53bceb8578
fix dagre layout with \r in IDs 2022-12-05 11:56:26 -08:00
Gavin Nishizawa
8659af5d57
fix unmarshalling id with newlines from dagre 2022-12-05 11:43:27 -08:00
Alexander Wang
d1bc498b0f
fix label and icon being placed over each other in dagre/elk 2022-12-03 16:30:44 -08:00
Alexander Wang
7cf2a4996e
switch dagre to goja 2022-12-03 11:43:33 -08:00
Alexander Wang
2781d904be
self referencing edges 2022-12-02 19:53:36 -08:00
Alexander Wang
557e097a42
fix dagre node ordering 2022-12-02 15:55:33 -08:00
Anmol Sethi
d116889fc9
Switch fully to util-go 2022-12-01 11:48:49 -08:00
Anmol Sethi
a05ba67a36
go2: rm -rf 2022-12-01 10:49:15 -08:00
Alexander Wang
edff033308
src change 2022-11-29 17:57:17 -08:00
Alexander Wang
a39bfce697
2022-11-29 04:02:37PM 2022-11-29 16:02:37 -08:00
Alexander Wang
b1cfeb19e6
2022-11-28 09:39:36PM 2022-11-28 21:39:36 -08:00
Alexander Wang
6f8017d16c
2022-11-21 01:25:14PM 2022-11-21 13:25:14 -08:00
Gavin Nishizawa
155e4d40ea don't pass node/edge labels to dagre 2022-11-07 11:14:16 -08:00
Alexander Wang
524c089a74 oss
Co-authored-by: Anmol Sethi <hi@nhooyr.io>
2022-11-03 06:54:49 -07:00