Commit graph

88 commits

Author SHA1 Message Date
donglixiaoche
1af6896883
fix: revert near_bad_connected compile_test 2023-03-27 21:38:09 +08:00
donglixiaoche
597385e19c
fix: delete redundant testcases 2023-03-27 21:38:09 +08:00
Alexander Wang
436531dbc2
paper pattern 2023-03-20 19:08:56 -07:00
Alexander Wang
c30887b363
new fill-patterns, grayscale 2023-03-15 23:02:17 -07:00
Alexander Wang
366a36df67
compiler 2023-03-13 20:07:13 -07:00
Alexander Wang
a9433a5204
fix arrowhead label detection 2023-03-11 21:33:03 -08:00
Alexander Wang
a556160306
validate markdown 2023-03-07 09:38:19 -08:00
Alexander Wang
9199554800
give err msg for invalid edge style 2023-03-06 22:44:45 -08:00
Alexander Wang
60c912c605
compile reserved keys to lowercase in IR 2023-03-06 16:38:13 -08:00
Alexander Wang
78e6f3fc06
pr feedback 2023-03-02 17:56:32 -08:00
Alexander Wang
2997a6ef59
test 2023-03-01 15:40:08 -08:00
Alexander Wang
85985bbaf5
ok 2023-03-01 15:38:02 -08:00
Alexander Wang
3a9745974c
save 2023-03-01 14:53:58 -08:00
Alexander Wang
5c96ffe6a1
save 2023-03-01 11:27:18 -08:00
Alexander Wang
8e074070d8
abs
id
2023-03-01 10:43:53 -08:00
Alexander Wang
756068bef5
save 2023-03-01 10:28:01 -08:00
Alexander Wang
e83cf8d157
Merge branch 'master' into link-layers 2023-02-28 14:28:33 -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
Alexander Wang
be09118633
Merge pull request #876 from alixander/fix-d2oracle-underscore
compiler: Fix underscore reference
2023-02-27 12:10:07 -08:00
Alexander Wang
1bc5d90d22
add failing compiler test 2023-02-27 10:33:34 -08:00
Jett Chen
c9477639cc
Merge branch 'master' into 3d-hexagon 2023-02-27 10:22:09 +08:00
JettChenT
5b5a976b7c
squash commits
upate tests

Update changelog

add support for Fill

update test case

resolve changes
2023-02-27 09:50:18 +08:00
Alexander Wang
1fcb075e04
no near 2023-02-24 19:05:23 -08:00
Alexander Wang
389f4cb9d3
failing test 2023-02-22 13:21:29 -08:00
Alexander Wang
6dee552e1a
nvm on 1 2023-02-21 20:26:20 -08:00
Alexander Wang
264ce21d60
validate top left 2023-02-21 20:10:34 -08:00
Alexander Wang
f7a5689280
fix 2023-02-20 14:18:55 -08:00
Alexander Wang
5f750f7109
Merge branch 'master' into container-dimensions 2023-02-20 09:07:12 -08:00
Alexander Wang
f1ac119c09
validate near key better 2023-02-19 08:15:59 -08:00
Alexander Wang
5ff1909935
container dimensions 2023-02-18 23:35:18 -08:00
Alexander Wang
e5b575f301
change back 2023-02-18 16:23:27 -08:00
Alexander Wang
315af7a2c2
change 2023-02-18 16:15:14 -08:00
Alexander Wang
641a6741ff
add top, left keywords 2023-02-18 14:54:10 -08:00
Alexander Wang
4dbae3c925
prevent sql table and class from having nested children 2023-02-16 17:44:54 -08:00
Alexander Wang
5a021b8918
oops 2023-02-14 16:52:50 -08:00
Alexander Wang
a81ea842cf
add assertion 2023-02-14 16:48:16 -08:00
Alexander Wang
40b4879f47
fix underscore bug in compiler 2023-02-14 16:45:55 -08:00
Alexander Wang
39e6f73b11
add failing test 2023-02-05 11:04:38 -08:00
Alexander Wang
102560a8ad
implement validation 2023-02-05 10:36:38 -08:00
Anmol Sethi
8f58e4ca54
d2ir: Review fixes #714 2023-02-02 10:31:09 -08:00
Anmol Sethi
f056700152
d2ir: Review fixes #714 2023-01-27 17:19:12 -08:00
Anmol Sethi
caef5a5a8f
cli: Add support for rendering layers/scenarios/steps 2023-01-27 10:41:25 -08:00
Anmol Sethi
b350399d66
d2ir: Complete integration across all packages 2023-01-24 03:24:35 -08:00
Anmol Sethi
7d011bab47
d2compiler: Integrate d2ir (wip) 2023-01-24 03:24:33 -08:00
Anmol Sethi
5af31670d1
d2compiler: Integrate d2ir (wip) 2023-01-24 03:24:32 -08:00
Anmol Sethi
6543bf217a
d2compiler: Integrate d2ir (wip) 2023-01-24 03:24:28 -08:00
Anmol Sethi
748557d8f2
d2ir: IR Root wip 2023-01-24 03:24:24 -08:00
Anmol Sethi
c9ef6ab9c9
d2graph: Implement deep copying a graph 2023-01-24 02:56:30 -08:00