Alexander Wang
1f9e1ea2cf
change to interface{}
2024-10-15 15:45:17 -07:00
Alexander Wang
32e3808856
pass arbitrary vars
2024-10-15 12:52:58 -07:00
Alexander Wang
c90a35ccaa
d2render: fix bounding box of 3d shapes with outside labels
2024-10-01 15:23:04 -06:00
Alexander Wang
353e1d767d
fix custom label positions for nodes with constrained widths
2024-05-02 11:55:23 -06:00
Alexander Wang
382f498688
add shape hierarchy
2024-03-15 10:00:40 -07:00
Alexander Wang
27ea8314e9
customize theme colors in vars-config
2023-12-14 11:35:49 -08:00
Alexander Wang
10a2cb60e7
export: use board labels
2023-12-12 10:37:19 -08:00
Gavin Nishizawa
ba2aa2304c
fix GetBoard when path contains index
2023-12-07 13:44:43 -08:00
gavin-ts
de4b088687
Merge branch 'master' into board_flag
2023-11-28 08:37:50 -08:00
Gavin Nishizawa
b9a5dad820
save cloud innerbox aspect ratio
2023-11-16 18:37:37 -08:00
Michał Wieluński
b0cbd66219
cli: add --target flag
2023-11-16 15:39:41 +01:00
Gavin Nishizawa
61f8e67454
render unfilled triangle arrowhead
2023-11-07 17:46:26 -08:00
Gavin Nishizawa
9d9afcdfe3
unfilled triangle arrowhead
2023-11-07 16:57:43 -08:00
Gavin Nishizawa
eb755db91c
use more efficient label position type
2023-11-07 16:27:45 -08:00
Alexander Wang
adb59ec470
add tests
2023-11-07 11:22:01 -08:00
Alexander Wang
06e145ab12
fix watch
2023-07-29 15:08:53 -07:00
Alexander Wang
65f97fc7be
pr comments
2023-07-29 14:34:19 -07:00
Alexander Wang
7bea22e504
draft
2023-07-29 14:34:19 -07:00
Alexander Wang
9122ce1c2b
robust hash
2023-07-29 11:31:03 -07:00
Alexander Wang
366696ad05
include diagram config in hash
2023-07-29 10:53:39 -07:00
Alexander Wang
2998b7ff38
fix icon pad
2023-07-23 19:37:11 -07:00
Alexander Wang
45b396c894
config vars
2023-07-20 16:08:08 -07:00
Alexander Wang
b3e5c71746
fix square shape type
2023-05-28 11:14:31 -07:00
Gavin Nishizawa
006a60d338
fix 3d hexagon bounding box
2023-05-24 20:07:10 -07:00
LeonardsonCC
36373c30ff
fix width stroke when the shape has shadow
2023-05-16 16:30:23 -03:00
LeonardsonCC
4fb3feccc2
fix shadow cut when 0 padding
2023-05-16 09:21:24 -03:00
Gavin Nishizawa
228ef4e65b
account for non-orthogonal connection segments
2023-04-24 20:05:26 -07:00
Gavin Nishizawa
e6e9673ddd
arrowhead refactor
2023-04-24 18:32:24 -07:00
Gavin Nishizawa
ca29119c60
adjust label positioning for arrowhead
2023-04-17 13:12:02 -07:00
Gavin Nishizawa
29a9630635
update bounding box for arrowhead labels
2023-04-17 13:01:38 -07:00
Gavin Nishizawa
6e4faefb4b
position arrowhead labels
2023-04-17 13:01:38 -07:00
Gavin Nishizawa
71546caeeb
render with arrowhead dimensions
2023-04-17 13:01:38 -07:00
Alexander Wang
305c72d239
implement classes
2023-04-07 09:57:51 -07:00
Bernard Xie
28f4f2d7ed
Update d2target.go
2023-03-29 15:12:00 -07:00
Alexander Wang
f30efc5f62
animate-interval
2023-03-26 21:34:41 -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
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
Alexander Wang
0216c8b5f0
fix font-color for tables and class
2023-02-24 20:39:34 -08:00
Alexander Wang
e1b407ea52
use more accurate icon bounding
2023-02-23 14:42:56 -08:00
Alexander Wang
6fe8989d30
fix icon padding
2023-02-23 11:15:24 -08:00
Vojtěch Fošnár
6a89beaeb1
merge updates
2023-02-19 12:32:44 +01:00
Alexander Wang
e37fc89bb1
icons in top left of containers
2023-02-13 10:42:47 -08:00
Alexander Wang
b842aade73
ok
2023-02-12 12:30:33 -08:00
Alexander Wang
ad24108446
label fill
2023-02-09 14:14:31 -08:00
Gavin Nishizawa
e524f43566
refactor and fix #699
2023-02-03 14:53:17 -08:00