Commit graph

318 commits

Author SHA1 Message Date
melsonic
8c93ff8d26
modified compileReserved for "icon" 2025-03-22 15:07:40 +05:30
melsonic
32d69642b1
added omitempty tag to struct fields IconStyle & IconBorderRadius 2025-03-18 22:19:45 +05:30
melsonic
9603f1ae3b
feat: ability to add border-radius to d2 icons 2025-03-16 21:26:25 +05:30
Alexander Wang
79e7b69552
legend 2025-03-04 10:14:45 -07:00
Alexander Wang
091c7a4585
Revert "add legend-label"
This reverts commit 92390b5b1c.
2025-03-03 20:32:55 -07:00
Alexander Wang
a7540203a5
c4 theme 2025-03-03 18:33:00 -07:00
Alexander Wang
16b0c897e0
fix 2025-03-02 13:42:53 -07:00
Alexander Wang
051d5f50ed
fix 2025-03-01 23:11:11 -07:00
Alexander Wang
b8a5dbdbc5
save 2025-03-01 12:12:35 -07:00
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
96288dd369
fix id/idval 2024-11-23 20:41:57 -08:00
Alexander Wang
8802676b3c
reserved keywords must be unquoted 2024-11-23 18:40:36 -08:00
Alexander Wang
1545ddfbb1
d2compile: invalidate self-links 2024-11-08 14:28:33 -07:00
Alexander Wang
f5894e22d3
serialize data 2024-11-07 15:41:57 -07:00
Alexander Wang
00e9f5dd2d
remove padding from tooltip/link standalone 2024-10-31 05:51:50 -06:00
Alexander Wang
1f9e1ea2cf
change to interface{} 2024-10-15 15:45:17 -07:00
Alexander Wang
09cf9ae7d1
d2render: support gradient values 2024-09-27 15:49:10 -06:00
Alexander Wang
0eb465bdc5
d2compile: fix ordering substitutions 2024-09-24 21:17:05 -06:00
Alexander Wang
de518f5c5e
d2fmt: lowercase reserved keywords 2024-09-15 10:46:47 -06:00
Alexander Wang
7c967954e0
d2sequence: ensure order for child boards 2024-09-11 11:26:37 -06:00
Alexander Wang
021011afbd
d2render: class headers can render multiple lines correctly 2024-08-13 22:36:38 +08:00
Alexander Wang
9ec7a24d25
fix 2024-04-15 17:31:27 -07:00
Alexander Wang
5abda40ca6
allow minimum dimensions to be less than label dimensions 2024-04-10 10:30:44 -07:00
Alexander Wang
b0d27a1948
add 'none' to fill-pattern options 2024-03-25 14:41:15 -07:00
Alexander Wang
823f6dc82f
treat hierarchy same as rect 2024-03-15 14:55:18 -07:00
Alexander Wang
a098ba80ec
validate 2023-12-14 11:35:49 -08:00
Gavin Nishizawa
0aa4418921
cleanup 2023-12-12 17:39:45 -08:00
Gavin Nishizawa
9f63c305a9
hasIcon restore label+icon height adjustment 2023-12-12 16:44:26 -08:00
Gavin Nishizawa
40e65da0f4
update adjustments 2023-12-12 15:49:54 -08:00
Gavin Nishizawa
589ba9f7f5
fix 2023-12-12 15:49:20 -08:00
Gavin Nishizawa
5becfbfbe7
add tracing connection to outside icon 2023-12-12 12:47:42 -08:00
Alexander Wang
5cdeca30e0
layout, export: icons for special objects 2023-12-12 09:23:17 -08:00
Gavin Nishizawa
0bf10f1634
add RoutingPlugin interface that plugins can implement for cross-graph edge routing 2023-11-21 12:47:26 -08:00
Gavin Nishizawa
b9a5dad820
save cloud innerbox aspect ratio 2023-11-16 18:37:37 -08:00
Gavin Nishizawa
5029f6ce34
cleanup refactor 2023-11-08 17:12:12 -08: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
Hidde Boomsma
15b7bdb384
Allow current color as valid css color
In SVG images `curentColor` is allowed as a way to explicitly inherit the current color. When setting `currentColor` as fill color on a shape together with a styling class, the class will now be used instead of the theme, which was not possible otherwise.
2023-11-03 06:36:05 +01:00
Gavin Nishizawa
514bb89472
improve margin adjustments for outside labels 2023-10-16 16:45:18 -07:00
Gavin Nishizawa
2a9acd06aa
cleanup validation 2023-10-02 11:05:19 -07:00
Gavin Nishizawa
b41a9e4e96
update validation and test 2023-10-02 11:05:19 -07:00
Gavin Nishizawa
17f2545e75
improve grid edge validation, messages, and test 2023-09-28 13:55:20 -07:00
Gavin Nishizawa
d3721fd4f0
refactor, fix 2023-09-26 18:07:49 -07:00
Gavin Nishizawa
07a433eebe
fix object deserialization missing graph reference 2023-09-25 16:04:14 -07:00
Gavin Nishizawa
b3ef7cd9aa
include graph root level in serialization 2023-09-25 16:04:13 -07:00
Gavin Nishizawa
b7791c83ea
wip 2023-09-21 19:35:50 -07:00
Gavin Nishizawa
9074b29f11
wip 2023-09-21 13:17:17 -07:00
Gavin Nishizawa
799311877a
refactor 2023-09-21 13:17:17 -07:00