Commit graph

226 commits

Author SHA1 Message Date
Alexander Wang
051d5f50ed
fix 2025-03-01 23:11:11 -07:00
Alexander Wang
92390b5b1c
add legend-label 2025-02-26 10:13:51 -07:00
delfino
cfd36c831c
compiler: support center in d2-config 2025-02-18 18:37:49 +00:00
Alexander Wang
029c17caac
d2compiler: fix shape value casing 2025-02-13 10:26:59 -07:00
Alexander Wang
9de283cd38
d2compiler: validate that reserved keywords have values 2024-12-14 22:12:41 -07:00
Alexander Wang
74f708a2ea
allow animated: true for shape 2024-12-14 19:35:18 -07:00
Daniel Suh
e2da1eac16
Fix changes 2024-12-14 13:58:50 -07:00
Daniel Suh
b4891900d1
fix logic 2024-12-14 13:58:46 -07:00
Daniel Suh
60c7c5d1f7
refactor 2024-12-14 13:58:46 -07:00
Daniel Suh
ae827b1651
link security + test 2024-12-14 13:58:46 -07:00
Daniel Suh
95d886b936
refactor code changes into compile.go 2024-12-14 13:58:45 -07:00
Daniel Suh
a5bf9c1b4d
fix requested changes 2024-12-14 13:58:45 -07:00
Alexander Wang
024faad406
compiler: allow non-http scheme url links 2024-12-06 03:17:41 -08:00
Alexander Wang
1ecadc576c
fix tests 2024-11-24 11:03:03 -08:00
Alexander Wang
7ea3aa2737
apply to edges 2024-11-24 10:45:06 -08:00
Alexander Wang
062faa41b8
go through all errorfs 2024-11-23 18:56:18 -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
2546618ebe
fix setting board label with primary 2024-10-30 12:06:39 -06:00
Alexander Wang
dc5c5e2a93
better detection of empty boards 2024-10-23 17:50:13 -06: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
420fa3d184
d2compiler: disallow invalid board links 2024-09-25 10:06:42 -06:00
Alexander Wang
0eb465bdc5
d2compile: fix ordering substitutions 2024-09-24 21:17:05 -06:00
Alexander Wang
24f9150091
d2ir: fix importing scopes 2024-09-23 06:54:54 -06:00
Alexander Wang
de518f5c5e
d2fmt: lowercase reserved keywords 2024-09-15 10:46:47 -06:00
Alexander Wang
1d6adef94b
allow unfound boards 2024-08-26 17:22:25 -06:00
Alexander Wang
9c40e420f2
d2compiler: allow children for sequence diagram image shapes 2024-08-17 09:04:01 +08:00
Alexander Wang
dc56649a9b
ta 2024-08-14 08:40:46 +08:00
Alexander Wang
b70f9783e2
d2compiler: newlines in sql_tables are made invalid 2024-08-13 22:36:56 +08:00
Alexander Wang
09efb7af19
fix importing nested boards 2024-07-13 08:02:21 -06:00
Alexander Wang
613980ef69
d2oracle:fix nested scenario 2024-06-03 13:40:13 -06:00
Alexander Wang
9ed7093527
test 2024-03-29 00:40:22 -07:00
Alexander Wang
4ffe2409a7
validate position keywords 2024-03-15 15:26:00 -07:00
Alexander Wang
49a42edeec
prevent near special 2024-02-27 13:17:32 -08:00
Alexander Wang
9a272cb3f7
fix d2oracle editing an imported board 2024-01-21 11:47:17 -08:00
Alexander Wang
336789c93f
expose import stack 2023-12-24 22:04:26 -08:00
Alexander Wang
a098ba80ec
validate 2023-12-14 11:35:49 -08:00
Alexander Wang
27ea8314e9
customize theme colors in vars-config 2023-12-14 11:35:49 -08:00
Alexander Wang
5c6a94a6ca
compiler: Fix compiler errors of keys in globs 2023-10-31 15:55:25 -07:00
Gavin Nishizawa
2893a48191
error using source/target-arrowhead on shape 2023-10-27 21:00:46 -07:00
Michał Wieluński
448b51c345
fix invisible null constraints in sql_table
fixes #1655
2023-10-13 10:33:38 +02:00
Gavin Nishizawa
84affc96d1
add validation for sequence diagram edges to descendant 2023-10-02 11:05:20 -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
97488fe2d8
updating validation 2023-10-02 11:05:19 -07:00
Gavin Nishizawa
8947e45a81
disable validation 2023-10-02 11:05:18 -07:00
Gavin Nishizawa
c228b400b2
disable compiler validation 2023-10-02 11:05:18 -07:00
Gavin Nishizawa
17f2545e75
improve grid edge validation, messages, and test 2023-09-28 13:55:20 -07:00
Gavin Nishizawa
a43aae9d1a
update grid edge validation and test 2023-09-28 13:55:19 -07:00