Commit graph

245 commits

Author SHA1 Message Date
Alexander Wang
5c6a94a6ca
compiler: Fix compiler errors of keys in globs 2023-10-31 15:55:25 -07:00
Gavin Nishizawa
70b46bacd0
add no_arrowheads_in_shape compiler test 2023-10-27 21:00:16 -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
142f637b6a
add compile test 2023-10-05 13:11:03 -07:00
Gavin Nishizawa
a8af739064
update compile test for edges to descendant from subgraph container 2023-10-02 11:05:20 -07:00
Gavin Nishizawa
2a9acd06aa
cleanup validation 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
a43aae9d1a
update grid edge validation and test 2023-09-28 13:55:19 -07:00
Gavin Nishizawa
3aed2c4110
update compile test 2023-09-28 13:55:19 -07:00
Gavin Nishizawa
20190c1224
add test 2023-09-22 20:01:31 -07:00
Gavin Nishizawa
095e23ddad
save test 2023-09-18 14:03:32 -07:00
Gavin Nishizawa
75ad59838b
validate empty text labels 2023-09-18 13:57:37 -07:00
Gavin Nishizawa
731a7df195
validate text shape labels 2023-09-18 13:16:50 -07:00
Gavin Nishizawa
fc06b09df6
validate nested grid edges (not implemented yet) 2023-09-13 20:27:17 -07:00
Gavin Nishizawa
64313e1787
restrict edges in grid diagrams to between direct children (nested not implemented yet) 2023-09-12 22:17:57 -07:00
Gavin Nishizawa
46bd6aeee5
edge case of edges on grid container 2023-09-12 17:08:34 -07:00
Gavin Nishizawa
5c50f41ce9
update grid edge validation 2023-09-12 16:07:57 -07:00
Anmol Sethi
eed3f7eb21
d2ir: Many more glob fixes 2023-08-30 00:37:03 -07:00
Anmol Sethi
aba28d365a
d2ir: More alixander identified lazy glob bugs 2023-08-30 00:37:03 -07:00
Anmol Sethi
89b400b8f1
d2ir: Alixander review lazy glob fixes 2023-08-30 00:37:03 -07:00
Alexander Wang
fb542087f7
folder check 2023-07-29 10:12:13 -07:00
Alexander Wang
45b396c894
config vars 2023-07-20 16:08:08 -07:00
Alexander Wang
d275a45033
allow edges in vars 2023-07-13 14:47:32 -07:00
Alexander Wang
29af92310b
fix no-primary-composite 2023-07-13 14:11:14 -07:00
Alexander Wang
4847714c3c
fix compiler creating vars 2023-07-13 12:24:48 -07:00
Alexander Wang
fb0c0d20ed
nested null 2023-07-13 10:22:37 -07:00
Alexander Wang
eba41af47d
use scalarstring 2023-07-13 10:13:26 -07:00
Alexander Wang
780345beeb
fix double quote primary 2023-07-13 10:11:08 -07:00
Alexander Wang
ffdb5121f4
err msg 2023-07-13 08:37:22 -07:00
Alexander Wang
ef11d47fc8
null 2023-07-13 08:35:16 -07:00
Alexander Wang
301bc8ddfb
add precedent test 2023-07-12 23:01:11 -07:00
Alexander Wang
98f79e2ba5
arrays 2023-07-12 22:20:55 -07:00
Alexander Wang
4b7b636657
spread 2023-07-12 14:53:28 -07:00
Alexander Wang
85bfad19a6
compile composites 2023-07-12 11:55:58 -07:00
Alexander Wang
63dbaf0935
pr changes 2023-07-11 23:26:06 -07:00
Alexander Wang
67a06b6557
var-in-var 2023-07-11 18:05:03 -07:00
Alexander Wang
af69e6f626
edge cases 2023-07-11 17:33:01 -07:00
Alexander Wang
92d87b553f
new implementation 2023-07-11 17:19:34 -07:00
Alexander Wang
4a9327e102
non-root err check 2023-07-11 15:05:16 -07:00
Alexander Wang
85cf491d74
quotes 2023-07-11 14:56:09 -07:00
Alexander Wang
a6125c46ec
cleanup 2023-07-11 14:01:35 -07:00
Alexander Wang
741a9aa306
cleanup 2023-07-11 13:40:44 -07:00
Alexander Wang
090d10e9ca
handle interpolation 2023-07-11 13:32:07 -07:00
Alexander Wang
e7e2566564
save 2023-07-11 11:19:50 -07:00
Alexander Wang
08cc907f07
more test 2023-07-10 22:22:04 -07:00
Alexander Wang
0347dff7a4
more tests 2023-07-10 22:02:58 -07:00
Alexander Wang
acdbfddf23
add replace tests 2023-07-10 21:56:10 -07:00
Alexander Wang
7269ee1706
add overlay tests 2023-07-10 21:54:34 -07:00
Alexander Wang
fd70b5ef46
layers work 2023-07-10 21:32:30 -07:00
Alexander Wang
05802edb07
edge label working 2023-07-10 21:18:18 -07:00
Alexander Wang
c9793b9a87
label works 2023-07-10 19:24:21 -07:00
Alexander Wang
db051a95b6
pr fixes 2023-07-03 15:58:22 -07:00
Alexander Wang
2cce7a89c8
Revert "portal keyword"
This reverts commit 92cfc5c40a.
2023-07-01 20:31:45 -07:00
Alexander Wang
92cfc5c40a
portal keyword 2023-07-01 16:36:33 -07:00
Alexander Wang
0749d4fb41
attribute 2023-06-26 12:15:24 -07:00
Alexander Wang
1acc3d685a
new implementation 2023-06-26 11:57:18 -07:00
Alexander Wang
02fa36d598
save 2023-06-26 10:36:12 -07:00
Alexander Wang
e1eecf7c7b
reimplement 2023-06-25 23:11:47 -07:00
Alexander Wang
09d1ec6314
reimplement 2023-06-25 23:10:56 -07:00
Alexander Wang
757f292a20
edge works 2023-06-25 20:36:10 -07:00
Alexander Wang
48bb6df3fe
save 2023-06-25 18:43:30 -07:00
Alexander Wang
6f9e478f59
label and icon position attributes 2023-06-22 16:13:08 -07:00
Alexander Wang
b30f9702bd
fix shape composite 2023-06-16 16:50:16 -07:00
Alexander Wang
8b8afb2638
fix idval edge case 2023-06-12 11:26:51 -07:00
Gavin Nishizawa
405f1c9777
add test 2023-06-09 14:10:49 -07:00
Alexander Wang
a283e619bb
prevent bad constraint usage 2023-06-08 11:07:46 -07:00
Alexander Wang
0d4392eac2
add class array footgun 2023-06-06 20:24:47 -07:00
satoqz
78995c38bd
Merge branch 'terrastruct:master' into master 2023-06-03 13:57:52 +02:00
Bernard Xie
cd09aba54f
trim space 2023-06-02 10:42:44 -07:00
Bernard Xie
1a6b1a4084
add test 2023-06-01 18:48:37 -07:00
Alexander Wang
6d2b77170b
fix arrowhead overriding 2023-06-01 17:11:11 -07:00
Alexander Wang
e998a95b96
d2ir: prevent illegal non-tail keywords 2023-05-31 23:04:09 -07:00
Alexander Wang
3afbf724f0
fix 2023-05-16 10:45:35 -07:00
Gavin Nishizawa
590a18c8bd
update compile test 2023-05-10 12:57:40 -07:00
satoqz
fd8eee7219
implement compiler changes 2023-05-01 13:59:57 +02:00
Alexander Wang
ddd997e3f0
add md block info 2023-04-29 20:45:03 -07:00
Alexander Wang
b08431b73a
Merge pull request #1256 from alixander/class-array
implement arrays for classes
2023-04-27 15:21:06 -07:00
Alexander Wang
7c401a4806
implement arrays for classes
update

changelog
2023-04-27 15:12:39 -07:00
Alexander Wang
595fafc4c8
fix class
style validation

changelog
2023-04-27 11:48:07 -07:00
Alexander Wang
16478fd894
fix classes panic 2023-04-26 12:40:42 -07:00
Antoine Poivey
760dbfe5ae
merge with master 2023-04-20 16:48:52 +02:00
Gavin Nishizawa
214c95eefc
refactor d2graph.Attributes 2023-04-13 20:04:55 -07:00
Antoine Poivey
b2d0a44e2f
remove border-radius percent tests, add border-radius pill (with a big value) test 2023-04-13 18:18:28 +02:00
Gavin Nishizawa
c0e164e44b
rename to horizontal-gap and vertical-gap 2023-04-12 13:51:04 -07:00
Gavin Nishizawa
e871cee0bb
add compile test 2023-04-10 18:21:39 -07:00
Alexander Wang
70b3dd7b87
add text-transform as keyword 2023-04-08 12:24:29 -07:00
Alexander Wang
305c72d239
implement classes 2023-04-07 09:57:51 -07:00
Alexander Wang
ad880fa9be
Merge pull request #1090 from alixander/scenarios-bug
fix scenarios/steps inheritence
2023-04-06 22:27:03 -07:00
donglixiaoche
b2f905efb8
Merge branch 'master' into near-keys-for-container
Conflicts:
	d2layouts/d2near/layout.go
2023-04-07 10:40:40 +08:00
Gavin Nishizawa
a75d4dd0b9
update keywords rows -> grid-rows 2023-04-06 15:48:01 -07:00
Gavin Nishizawa
37fc3ea8e0
cleanup 2023-04-06 15:37:35 -07:00
Antoine Poivey
e59a50fd08
merge with master 2023-04-06 19:04:53 +02:00
Alexander Wang
a2cffc9341
fix inheritence bug 2023-04-05 19:29:08 -07:00
donglixiaoche
e61629e692
fix: cr 2023-04-06 05:00:12 +08:00
Gavin Nishizawa
06a942cf99
rename to grid diagram 2023-04-05 11:15:52 -07:00
Gavin Nishizawa
04775c8491
validate descendants 2023-04-04 21:00:40 -07:00
Gavin Nishizawa
bce774fd4a
validate edges 2023-04-04 18:45:08 -07:00
Gavin Nishizawa
06fb313d3e
values must be positive 2023-04-03 13:49:10 -07:00
Gavin Nishizawa
d139eeadad
layout with grids 2023-04-03 13:48:38 -07:00
donglixiaoche
9089253872
Merge branch 'master' into near-keys-for-container 2023-03-31 21:18:46 +08:00