d2/d2graph
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
..
color_helper.go oss 2022-11-03 06:54:49 -07:00
d2graph.go cli: Improve multiboard output 2023-02-27 13:50:03 -08:00
d2graph_test.go Switch fully to util-go 2022-12-01 11:48:49 -08:00
font_helper.go oss 2022-11-03 06:54:49 -07:00
seqdiagram.go e2etests/testdata: Fix 2023-02-02 11:55:12 -08:00
serde.go move comparison to serde 2023-02-18 13:56:17 -03:00
serde_test.go fix test 2023-02-17 15:44:33 -03:00