Commit graph

3314 commits

Author SHA1 Message Date
Alexander Wang
45b396c894
config vars 2023-07-20 16:08:08 -07:00
gavin-ts
6b65f298b2
Merge pull request #1453 from gavin-ts/dagre-label-positions
dagre adjustments for custom label positions
2023-07-20 16:01:10 -07:00
Gavin Nishizawa
10c94c08cd
update test 2023-07-20 11:31:59 -07:00
Gavin Nishizawa
fbda3e8873
add some extra space between overlapping 2023-07-20 11:31:40 -07:00
Gavin Nishizawa
77acbdcfa1
update tests 2023-07-19 19:29:14 -07:00
Gavin Nishizawa
a18eae7158
consider edges close to collapsing edge as being on it 2023-07-19 19:26:19 -07:00
Gavin Nishizawa
1eb3999c99
update test 2023-07-19 17:42:29 -07:00
Gavin Nishizawa
09174c17b8
check for overlaps with children 2023-07-19 17:42:21 -07:00
Gavin Nishizawa
a8cc241c22
move overlaps func to d2 2023-07-19 17:32:33 -07:00
Gavin Nishizawa
ae508c1d89
add overlapping_child_label test 2023-07-19 17:32:32 -07:00
Anmol Sethi
b11ed9d3e9
Merge pull request #1484 from nhooyr/vars-fix
d2ir: Fix variables to passthrough primary type
2023-07-18 15:19:47 -07:00
Anmol Sethi
a79e963f3e
d2ir: Fix variables to passthrough primary type
If the variable is a number it should be parsed as a number and not coerced into a string.
See test change.
2023-07-18 14:58:22 -07:00
Gavin Nishizawa
2d518a6cfd
update tests 2023-07-17 15:17:00 -07:00
Gavin Nishizawa
92b8c2c877
check for internal edges and their labels 2023-07-17 15:13:21 -07:00
Gavin Nishizawa
205bf8b43d
update tests 2023-07-14 16:12:12 -07:00
Gavin Nishizawa
874696da3d
fix 2023-07-14 16:12:11 -07:00
Gavin Nishizawa
b1cb08027e
update tracing to label box 2023-07-14 13:25:30 -07:00
Gavin Nishizawa
5d7b0af127
account for child 3d/multiple in bounding box 2023-07-14 12:02:06 -07:00
Gavin Nishizawa
8cce0aa54c
don't shrink padding past edges on side 2023-07-14 11:59:03 -07:00
Gavin Nishizawa
f99405eaa3
fit container padding 2023-07-14 11:59:03 -07:00
Alexander Wang
4adfb22ce3
Merge pull request #1473 from alixander/vars
Vars
2023-07-13 16:16:59 -07:00
Alexander Wang
da0d24555d
rm commented code 2023-07-13 15:13:24 -07:00
Alexander Wang
d275a45033
allow edges in vars 2023-07-13 14:47:32 -07:00
Alexander Wang
e95f61985e
fix import test 2023-07-13 14:41:06 -07:00
Alexander Wang
f12f9ca69d
move edge check 2023-07-13 14:34:33 -07:00
Alexander Wang
29af92310b
fix no-primary-composite 2023-07-13 14:11:14 -07:00
Gavin Nishizawa
180a444ca0
fix grid diagram shift 2023-07-13 13:56:12 -07:00
Gavin Nishizawa
a32319d598
fix dagre_broken_arrowhead 2023-07-13 13:56:12 -07:00
Gavin Nishizawa
e52f0bb8ba
fix tracing edge to label with multiple intersections 2023-07-13 13:56:12 -07:00
Gavin Nishizawa
2c5c395315
handle merging multiple different child margins and container padding in rank direction 2023-07-13 13:56:11 -07:00
Gavin Nishizawa
b6795e65e1
fixes 2023-07-13 13:56:11 -07:00
Gavin Nishizawa
d25d1a3bf0
deduplicate cross rank margin adjustments 2023-07-13 13:56:11 -07:00
Gavin Nishizawa
f4854bf43d
fix 3d/multiple 2023-07-13 13:56:11 -07:00
Gavin Nishizawa
14917b7531
handle rank direction ending container padding 2023-07-13 13:56:11 -07:00
Gavin Nishizawa
81db10d67e
adjust parent heights 2023-07-13 13:56:11 -07:00
Gavin Nishizawa
27f66c8d72
get parent rank ranges 2023-07-13 13:56:11 -07:00
Gavin Nishizawa
8e18103ffd
calculating object ranks
adusting spacing for each rank
2023-07-13 13:56:11 -07:00
Gavin Nishizawa
de8406d124
dagre container label adjustments with phantom node 2023-07-13 13:56:11 -07:00
Gavin Nishizawa
dd5b5a4ac9
add centered_horizontal_connections test 2023-07-13 13:56:11 -07:00
Gavin Nishizawa
8a8db1892c
add dagre_spacing_right test 2023-07-13 13:56:10 -07:00
Gavin Nishizawa
2a13f21d66
add dagre_spacing test 2023-07-13 13:56:10 -07:00
gavin-ts
05154ad14c
Merge pull request #1478 from gavin-ts/multiple-labelbox
fix: label box for multiple/3d shapes
2023-07-13 13:54:23 -07:00
Alexander Wang
4847714c3c
fix compiler creating vars 2023-07-13 12:24:48 -07:00
Gavin Nishizawa
b93169062c
changelog 2023-07-13 11:46:21 -07:00
Gavin Nishizawa
d39c22f9a2
update tests 2023-07-13 11:46:21 -07:00
Gavin Nishizawa
f53afc485a
fix labelbox adustments for multiple/3d shapes 2023-07-13 11:42:40 -07:00
Gavin Nishizawa
91895ae6ab
add multiple_person_label test 2023-07-13 11:42:40 -07:00
gavin-ts
b1d28c2dd7
Merge pull request #1442 from gavin-ts/elk-label-positions
adjust elk layouts for custom label/icon positions
2023-07-13 11:39:43 -07:00
Alexander Wang
fb0c0d20ed
nested null 2023-07-13 10:22:37 -07:00
Alexander Wang
a54907e28a
remove overlayVars 2023-07-13 10:16:41 -07:00