Commit graph

29 commits

Author SHA1 Message Date
Anmol Sethi
e4fac7840f
cli: Improve multiboard output
- Boards with subboards are now selfcontained folders with index.svg/png as
  the root board render.
- Boards that are only containers of other boards are not rendered. For example a
  scenario with no modifications and only steps only has its steps
  rendered.
- Boards with sibling boards of another type are rendered under a
  subdirectory indicating their type to separate them. For example a
  board with layers and scenarios has its layers rendered into subfolder
  layers and scenarios into subfolder scenarios.

cc @berniexie see BoardContainer field on d2target.Board for the field
you were looking for to skip renders for PDFs too.
2023-02-27 13:50:03 -08:00
Alexander Wang
87eae1b616
implement background styles 2023-02-26 16:23:51 -08:00
Vojtěch Fošnár
6a89beaeb1
merge updates 2023-02-19 12:32:44 +01:00
Alexander Wang
019429edcf
try different value 2023-02-10 21:45:31 -08:00
Alexander Wang
5c2d75a360
tests 2023-02-10 21:28:03 -08:00
Alexander Wang
0f9d98fa8a
Merge branch 'master' into tune-spacing 2023-02-10 21:27:10 -08:00
Alexander Wang
b30a72b2b3
merge 2023-02-10 21:25:28 -08:00
Alexander Wang
9fad105822
fix padding 2023-02-10 13:47:22 -08:00
Alexander Wang
9463c67555
test 2023-02-10 13:40:12 -08:00
Alexander Wang
563c6999d0
cleanup 2023-02-10 12:50:25 -08:00
Alexander Wang
939a5ca088
ok 2023-02-10 12:18:50 -08:00
Alexander Wang
8ec04a1f61
save 2023-02-10 10:25:44 -08:00
Alexander Wang
dbac4b8cdf
dagre 2023-02-09 19:29:30 -08:00
Gavin Nishizawa
b387e2c6e0
update tests 2023-02-03 13:59:12 -08:00
Gavin Nishizawa
4bfb6af7e6
Merge branch 'master' into shape-specific-inner-boxes 2023-02-02 20:25:52 -08:00
Anmol Sethi
30b5b64cad
d2ir: Review fixes #714 2023-01-27 23:19:50 -08:00
Vojtěch Fošnár
af2be1232f
resolved conflicts, updated tests 2023-01-27 22:30:44 +01:00
Anmol Sethi
2d36513e2c
Merge remote-tracking branch 'upstream/master' into scenarios-a407 2023-01-27 10:51:33 -08:00
Anmol Sethi
caef5a5a8f
cli: Add support for rendering layers/scenarios/steps 2023-01-27 10:41:25 -08:00
Gavin Nishizawa
ce0d81650d
update tests 2023-01-26 16:45:14 -08:00
Anmol Sethi
b350399d66
d2ir: Complete integration across all packages 2023-01-24 03:24:35 -08:00
OneRain2333
735add1b32 update tests 2023-01-24 16:21:39 +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
1739d79b6b
fix dagre edge label overlaps 2023-01-06 12:19:01 -08:00
Alexander Wang
d41b98fbc9
update tests 2022-12-21 21:05:35 -08:00
Gavin Nishizawa
732bbf04bf
update tests 2022-12-20 16:07:23 -08:00
Gavin Nishizawa
15a64b2333
add elk_alignment regression test 2022-12-20 13:01:11 -08:00