Commit graph

361 commits

Author SHA1 Message Date
Alexander Wang
933cc2f857
d2ir: add support for nested property filtering on edges 2025-03-01 10:00:30 -07:00
Alexander Wang
6456f1866e
test 2025-02-28 15:29:54 -07:00
Alexander Wang
d17a6e395c
do not apply lazily 2025-02-28 11:17:18 -07:00
Alexander Wang
82b33369fa
fix quoting 2025-02-27 17:30:56 -07:00
Alexander Wang
28cc8d4089
add test 2025-02-27 08:45:44 -07:00
Alexander Wang
92390b5b1c
add legend-label 2025-02-26 10:13:51 -07:00
Alexander Wang
68f04b4161
d2ir: do not interpret comment in array as array node 2025-02-25 11:20:39 -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
97cbd76178
fix &leaf filter 2025-02-04 17:32:45 -07:00
Alexander Wang
f2021275ac
d2ir: fix deleting nested edge 2025-01-31 14:32:27 -07:00
Alexander Wang
c12a4f6db0
implement connected filter 2025-01-20 18:55:23 -08:00
Alexander Wang
8bfb5d73c8
implement leaf filter 2025-01-20 18:47:26 -08:00
Alexander Wang
8f4f430382
add test 2025-01-20 14:54:07 -08:00
Alexander Wang
af781f5e4d
ta 2025-01-08 16:52:26 -07:00
Alexander Wang
232c47d21a
set the ast range path 2025-01-08 16:42:44 -07:00
Alexander Wang
9de283cd38
d2compiler: validate that reserved keywords have values 2024-12-14 22:12:41 -07:00
Alexander Wang
e6cedef763
ta 2024-12-14 19:54:49 -07:00
Alexander Wang
74f708a2ea
allow animated: true for shape 2024-12-14 19:35:18 -07:00
Alexander Wang
5b1122ca72
remove redundant test 2024-12-14 14:06:28 -07:00
Daniel Suh
e2be343198
Removed unneeded line 2024-12-14 13:58:51 -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
3484619383
d2compiler: fix globs with board imports 2024-12-12 22:53:01 -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
96288dd369
fix id/idval 2024-11-23 20:41:57 -08:00
Alexander Wang
b1a318631b
fix reserved casing 2024-11-23 19:14:00 -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
271662b546
tests 2024-11-21 19:45:59 -08:00
Alexander Wang
b4382a6793
markdown: sanitize links 2024-11-18 09:28:06 -08:00
Alexander Wang
7e6a3d8132
d2ir: replace substitutions in markdown 2024-11-18 07:02:45 -08:00
Alexander Wang
c3fbf873bf
add test 2024-11-17 21:13:06 -08:00
Alexander Wang
1545ddfbb1
d2compile: invalidate self-links 2024-11-08 14:28:33 -07:00
Alexander Wang
db83fb8d1a
fix double globs in multiple scenarios 2024-11-05 14:32:39 -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
28e1242aef
ta 2024-09-24 21:41:47 -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
61bd169026
d2ir: fix import url link 2024-09-17 13:44:49 -06:00