Commit graph

36 commits

Author SHA1 Message Date
Alexander Wang
61b90ece77
ta 2025-03-04 14:21:33 -07:00
Alexander Wang
052faecbbd
adjust legend positions 2025-03-04 14:18:58 -07:00
Alexander Wang
4b911ffd15
fix legend 2025-03-04 12:05:39 -07:00
Alexander Wang
e6cedef763
ta 2024-12-14 19:54:49 -07:00
Daniel Suh
6718b9888e
fixed e2e tests 2024-12-14 13:58:33 -07:00
Gavin Nishizawa
913c170985
update tests 2023-04-17 13:16:34 -07:00
Alexander Wang
298a0c10bd
bump to go 1.20 2023-03-13 13:35:26 -07:00
Alexander Wang
a9433a5204
fix arrowhead label detection 2023-03-11 21:33:03 -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
Vojtěch Fošnár
6a89beaeb1
merge updates 2023-02-19 12:32:44 +01:00
Alexander Wang
675e2ea6ec
tests 2023-02-09 14:30:38 -08:00
Vojtěch Fošnár
cc324d1f68
downgraded tests to Go 1.18.5 2023-01-30 18:01:45 +01:00
Vojtěch Fošnár
01928a5032
review fixes 2023-01-30 12:06:54 +01:00
Anmol Sethi
3ace33fd01
d2ir: Review fixes #714 2023-01-27 23:28:44 -08:00
Anmol Sethi
30b5b64cad
d2ir: Review fixes #714 2023-01-27 23:19:50 -08:00
Vojtěch Fošnár
1cbcca7e3a
recreated tests with downgraded go to 1.18.5 2023-01-28 01:28:38 +01:00
Vojtěch Fošnár
d24a5c1ec3
updated export and render options 2023-01-27 22:41:59 +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
Anmol Sethi
b350399d66
d2ir: Complete integration across all packages 2023-01-24 03:24:35 -08:00
OneRain2333
e858d355a3 update test using go 1.18 2023-01-24 16:24:32 +08:00
OneRain2333
735add1b32 update tests 2023-01-24 16:21:39 +08:00
Alexander Wang
9e658adf08
update tests 2022-12-25 21:50:40 -08:00
Alexander Wang
72af538e2f
add test 2022-12-23 13:25:43 -08:00
Alexander Wang
745900b137
fix group label position 2022-12-23 13:16:33 -08:00
Alexander Wang
07fb1a3d86
implement sketch 2022-12-21 20:55:27 -08:00
Alexander Wang
18b39b44fd
test update 2022-12-18 20:21:33 -08:00
Júlio César Batista
297ea52b9e
Merge branch 'master' into actors-distance 2022-12-05 13:13:30 -08:00
Júlio César Batista
abcfa7cb24
Update tests 2022-11-30 11:23:30 -08:00
Júlio César Batista
0fc1294ae6
Rename RenderPriority -> ZIndex 2022-11-29 21:41:32 -08:00
Júlio César Batista
e13f8f6711
update tests 2022-11-29 21:41:29 -08:00
Alexander Wang
524c089a74 oss
Co-authored-by: Anmol Sethi <hi@nhooyr.io>
2022-11-03 06:54:49 -07:00