Mayank77maruti
8893981749
initial push
2025-02-21 16:34:23 +00:00
Alexander Wang
20c2c592eb
d2svg: implement connection icons
2025-02-16 22:08:40 -07:00
Alexander Wang
8f70000242
Merge branch 'master' into box-arrowheads
2025-02-03 18:41:25 -07:00
Alexander Wang
f711a76ade
add diagram hash salt
2025-01-30 14:48:41 -07:00
Adam
d61287dec5
Add box arrowheads
2024-12-18 17:40:01 +00:00
Alexander Wang
74f708a2ea
allow animated: true for shape
2024-12-14 19:35:18 -07:00
Daniel Suh
83ca32e4bf
link on connections are now labels
2024-12-14 13:58:44 -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
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