Commit graph

58 commits

Author SHA1 Message Date
Alexander Wang
44248e77eb
language works for sequence diagram notes 2025-03-01 12:12:33 -07:00
Alexander Wang
92390b5b1c
add legend-label 2025-02-26 10:13:51 -07:00
Alexander Wang
20c2c592eb
d2svg: implement connection icons 2025-02-16 22:08:40 -07:00
Alexander Wang
74f708a2ea
allow animated: true for shape 2024-12-14 19:35:18 -07:00
Daniel Suh
38bfc69325
removed pretty linke 2024-12-14 13:58:25 -07:00
Daniel Suh
2ccd211cc8
html links are working on connections 2024-12-14 13:58:23 -07:00
Alexander Wang
4db1f72134
allow underlines for connections 2024-02-14 16:48:57 -08:00
Alexander Wang
10a2cb60e7
export: use board labels 2023-12-12 10:37:19 -08:00
Gavin Nishizawa
b9a5dad820
save cloud innerbox aspect ratio 2023-11-16 18:37:37 -08:00
Gavin Nishizawa
61f8e67454
render unfilled triangle arrowhead 2023-11-07 17:46:26 -08:00
Gavin Nishizawa
cfd7c3996d
render arrowhead labels using style.font-color 2023-09-11 12:22:17 -07:00
Gavin Nishizawa
ee70180a87
fixes 2023-05-25 18:35:58 -07:00
Gavin Nishizawa
53709d641a
export connection truncate decimals along route 2023-05-25 16:22:04 -07:00
Gavin Nishizawa
e6e9673ddd
arrowhead refactor 2023-04-24 18:32:24 -07:00
Gavin Nishizawa
71546caeeb
render with arrowhead dimensions 2023-04-17 13:01:38 -07:00
Gavin Nishizawa
214c95eefc
refactor d2graph.Attributes 2023-04-13 20:04:55 -07:00
Alexander Wang
305c72d239
implement classes 2023-04-07 09:57:51 -07:00
Alexander Wang
ab25a7a8ab
fix origami theme 2023-03-29 21:05:42 -07:00
Alexander Wang
e98c34a34c
origami theme 2023-03-29 20:01:52 -07:00
Alexander Wang
4c8c2b1ab5
define new theme 2023-03-15 17:54:34 -07:00
Alexander Wang
1f6a361b3f
implement pattern 2023-03-13 23:01:33 -07:00
donglixiaoche
e88c60fe55
fix: default border-radius for BaseConnection 2023-03-01 08:09:39 +08:00
donglixiaoche
2dd120294f
fix: default elk border-radius 2023-03-01 08:09:38 +08:00
donglixiaoche
84905ded9e
feat: elk border-radius 2023-03-01 08:09:38 +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
00be0de277
Merge branch 'terrastruct:master' into master 2023-02-21 08:56:05 +01:00
Alexander Wang
f7a5689280
fix 2023-02-20 14:18:55 -08:00
Vojtěch Fošnár
6a89beaeb1
merge updates 2023-02-19 12:32:44 +01:00
Alexander Wang
8736a16f8f
cleanup 2023-02-09 14:16:20 -08:00
Alexander Wang
ad24108446
label fill 2023-02-09 14:14:31 -08:00
Alexander Wang
ea58e1139b
update back font size 2023-02-06 13:12:43 -08:00
Alexander Wang
812957bf23
Tests, changleog 2023-02-06 01:15:18 -08:00
Alexander Wang
0341fd6f3e
update tests 2023-02-06 01:10:52 -08:00
Gavin Nishizawa
1567de64e1
don't set obj.LabelDimensions with padding 2023-02-03 13:53:24 -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
OneRain2333
9575c768dc Make to be a style attribute and remove shape 2023-01-24 16:21:25 +08:00
Vojtěch Fošnár
a81ab2d73e
support for prefers-color-scheme 2023-01-09 19:16:28 +01:00
Alexander Wang
4cc7dde896
text font sizes and bold, italic, underline 2022-12-25 21:49:26 -08:00
Alexander Wang
64d7d5f1b6
apply themes to tables and classes 2022-12-24 15:56:22 -08:00
Alexander Wang
3a9a784342
wip 2022-12-21 23:13:52 -08:00
Alexander Wang
07fb1a3d86
implement sketch 2022-12-21 20:55:27 -08:00
Gavin Nishizawa
1a3511d632
apply stroke and fill to markdown 2022-12-17 21:32:59 -08:00
Gavin Nishizawa
412713e2b7
render connection label background according to style.fill 2022-12-16 15:46:14 -08:00
Alexander Wang
d90eb355d3
prs 2022-12-05 14:30:40 -08:00
Alexander Wang
1b99604359
fix nested sequence diagram shape 2022-12-05 13:53:09 -08:00