Commit graph

185 commits

Author SHA1 Message Date
Anmol Sethi
2d36513e2c
Merge remote-tracking branch 'upstream/master' into scenarios-a407 2023-01-27 10:51:33 -08:00
Gavin Nishizawa
fd72e10dbc
rename lastGroup to prevGroup 2023-01-27 10:09:38 -08:00
Gavin Nishizawa
74b0ed2064
only add message offset after loops in another group 2023-01-26 18:02:32 -08:00
Gavin Nishizawa
576c8df2c8
update message offset for self messages 2023-01-26 18:02:32 -08:00
Anmol Sethi
5af31670d1
d2compiler: Integrate d2ir (wip) 2023-01-24 03:24:32 -08:00
Anmol Sethi
3e7bdc5468
d2compiler: Integrate d2ir (wip) 2023-01-24 03:24:29 -08:00
Anmol Sethi
c9ef6ab9c9
d2graph: Implement deep copying a graph 2023-01-24 02:56:30 -08:00
Alexander Wang
f595aafcc4
fix self-span in sequence diagrams 2023-01-19 18:09:32 -08:00
Alexander Wang
098fc96bd9
edge case 2023-01-19 15:13:18 -08:00
Alexander Wang
320d631113
fix constant-near panic 2023-01-19 15:03:52 -08:00
Alexander Wang
f688efcb48
propagate elk config for self loop spacing 2023-01-18 14:34:14 -08:00
Gavin Nishizawa
54f34d72ad
extend previous segment to target if last segment is very short 2023-01-12 11:23:23 -08:00
Gavin Nishizawa
25e37fd0c4
handle straight line 2023-01-12 11:23:23 -08:00
Alexander Wang
bb92a1c0fa
ok 2023-01-07 19:46:10 -08:00
Alexander Wang
4b12be7974
Revert "remove inferior stub"
This reverts commit 0db3a193b8.
2023-01-06 12:24:45 -08:00
Alexander Wang
0db3a193b8
remove inferior stub 2023-01-06 12:23:47 -08:00
Alexander Wang
4657542def
labelpos 2023-01-06 12:21:47 -08:00
Alexander Wang
2b3faf8f64
fix dagre edge label overlaps 2023-01-06 12:18:26 -08:00
Alexander Wang
87e05bcdd0
fix near overlapping labels 2023-01-06 11:13:52 -08:00
Alexander Wang
8708bceef0
Merge pull request #563 from alixander/layout-configs
Pass layout configs
2022-12-30 14:31:05 -08:00
Alexander Wang
26be278934
fix elk 2022-12-30 14:28:52 -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
f8482ee96a
fix elk panic with empty label 2022-12-29 00:00:56 -08:00
Andreas Deininger
7860114515
Fixing typos
Signed-off-by: Andreas Deininger <adeininger@gmail.com>
2022-12-28 20:51:19 +01:00
Alexander Wang
31564f1487
exercise serde 2022-12-26 20:51:37 -08:00
Alexander Wang
849012b9fd
cleanup 2022-12-25 17:43:43 -08:00
Alexander Wang
9eaa4e98c4
cleanup 2022-12-25 16:49:19 -08:00
Alexander Wang
c32bfdda34
constant nears 2022-12-25 16:33:32 -08:00
Alexander Wang
462d22a75f
don't round 2022-12-24 13:39:45 -08:00
Alexander Wang
03e27abb54
elk force order 2022-12-24 13:34:23 -08:00
Alexander Wang
745900b137
fix group label position 2022-12-23 13:16:33 -08:00
Gavin Nishizawa
707f5b9dd7
set dagre ranksep according to max edge label size 2022-12-20 16:05:35 -08:00
Gavin Nishizawa
eed6eadd58
have elk place edge labels on the edge 2022-12-20 15:31:13 -08:00
Gavin Nishizawa
6bb39115d4
place elk edge labels on right with more padding 2022-12-20 15:10:45 -08:00
Gavin Nishizawa
243df4b8e1
use elk layout's edge label position 2022-12-20 14:03:40 -08:00
Gavin Nishizawa
e2b510a1c8
improve label placement for shapes with icons 2022-12-19 20:48:01 -08:00
Gavin Nishizawa
45162a5f6e
update images for elk 2022-12-19 20:15:35 -08:00
Gavin Nishizawa
90846c6599
update label positions for images 2022-12-19 20:02:00 -08:00
Alexander Wang
b5fb81bbb0
Merge branch 'master' into elk-trace-to-shape-border 2022-12-18 20:15:05 -08:00
Alexander Wang
5f1bf2c897
fix sequence edge identify 2022-12-18 20:06:36 -08:00
Gavin Nishizawa
801d307807
trace elk edges to shape border 2022-12-17 20:40:56 -08:00
Alexander Wang
c4483523bf
fix sequence diagram with no messages 2022-12-11 16:35:27 -08:00
Anmol Sethi
b704c6684b
ci: Update [ci-force] 2022-12-07 23:41:33 -08:00
Anmol Sethi
b72959a91f
fmt 2022-12-07 23:22:20 -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
ejulio-ts
cb414e5382
Merge pull request #397 from ejulio-ts/gh-391-spans
sequence_diagram: Fix span size
2022-12-07 09:48:04 -08:00