Commit graph

14 commits

Author SHA1 Message Date
Gavin Nishizawa
7fe2f11c4a
update tests 2023-07-12 15:40:21 -07:00
Gavin Nishizawa
bdd7dc51d3
update tests 2023-05-25 16:22:24 -07:00
Gavin Nishizawa
913c170985
update tests 2023-04-17 13:16:34 -07:00
Alexander Wang
c3c60c5bab
fix elk container label 2023-03-17 21:46:57 -07:00
Alexander Wang
e36f2f946b
elk fit labels, center contents 2023-03-15 13:07:45 -07:00
Alexander Wang
a37c456dfc
fixed alignment 2023-03-14 11:08:29 -07:00
Alexander Wang
412f53e229
ELK nodes grow to ensure port padding 2023-03-06 22:32:15 -08:00
donglixiaoche
04cc7bd207
chore: regenerate testcases 2023-03-01 09:44:15 +08:00
Anmol Sethi
f64b5c010d
IsContainerOnly -> IsFolderOnly 2023-02-27 14:39:09 -08:00
Anmol Sethi
78b09f5007
BoardContainer -> IsContainerOnly
As discussed on slack.
2023-02-27 14:39:08 -08:00
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
Gavin Nishizawa
b124262c76
update test 2023-02-23 11:35:52 -08:00
Gavin Nishizawa
8f013ba2e4
add container_label_edge_adjustment todo test 2023-02-23 11:35:23 -08:00