Commit graph

696 commits

Author SHA1 Message Date
Gavin Nishizawa
4dfd5d960d
update tests 2023-06-08 14:02:52 -07:00
Gavin Nishizawa
f9a55e6acd
update test 2023-06-08 13:56:39 -07:00
Gavin Nishizawa
64f63d2201
add outiside bottom labels test 2023-06-08 13:46:48 -07:00
Gavin Nishizawa
1b804055e2
update tests 2023-06-08 13:11:31 -07:00
Gavin Nishizawa
fc612803bb
update test 2023-06-08 13:11:31 -07:00
Gavin Nishizawa
2261a0d0fc
add grid_with_latex test 2023-06-08 13:11:30 -07:00
Alexander Wang
4147c4506c
tests 2023-06-05 11:33:34 -07:00
satoqz
665844db39
TA=1 2023-06-03 14:05:18 +02:00
satoqz
78995c38bd
Merge branch 'terrastruct:master' into master 2023-06-03 13:57:52 +02:00
satoqz
430ff4cab9
join constraints with comma 2023-06-03 13:54:06 +02:00
Gavin Nishizawa
2c0142abfd
update test 2023-06-02 15:52:06 -07:00
Gavin Nishizawa
f6580b69df
add multiple_box_selection test 2023-06-02 15:52:06 -07:00
Bernard Xie
dedf9e2d55
more accurate 2023-05-31 16:58:10 -07:00
Bernard Xie
8de7711e68
fix 2023-05-31 16:30:11 -07:00
Gavin Nishizawa
db2b3f2d14
update tests 2023-05-30 13:33:07 -07:00
Gavin Nishizawa
f64c0f1c77
add grid_icon test 2023-05-30 13:11:49 -07:00
Gavin Nishizawa
6ee5204b4d
update tests 2023-05-30 11:08:06 -07:00
Gavin Nishizawa
152557fa2c
update tests 2023-05-25 18:47:45 -07:00
Gavin Nishizawa
bdd7dc51d3
update tests 2023-05-25 16:22:24 -07:00
Gavin Nishizawa
36e01a7de7
update new tests 2023-05-25 16:22:20 -07:00
Gavin Nishizawa
73b60b1289
add multiple_offset test 2023-05-24 20:07:10 -07:00
LeonardsonCC
36373c30ff
fix width stroke when the shape has shadow 2023-05-16 16:30:23 -03:00
LeonardsonCC
36cf8bfbe6
generated expected svg for tests 2023-05-16 09:21:39 -03:00
Gavin Nishizawa
378ee71907
update tests 2023-05-10 15:24:53 -07:00
Gavin Nishizawa
6d95eb7a69
add grid_nested_gap0 test 2023-05-10 15:22:40 -07:00
Gavin Nishizawa
aff2c5c68e
layout nested grids 2023-05-10 12:57:38 -07:00
Gavin Nishizawa
87117d2946
add grid_large_checkered test 2023-05-09 18:09:36 -07:00
Gavin Nishizawa
f66044c2d2
update test 2023-05-04 16:40:59 -07:00
Gavin Nishizawa
b8c41226cc
add cylinder_grid_label test 2023-05-03 20:02:11 -07:00
satoqz
14f88e2db9
address code review 2023-05-03 13:42:31 +02:00
Alexander Wang
cd6c6b6fda
bump tests 2023-05-01 13:53:19 -07:00
satoqz
c0839c76bf
revert updating testdata 2023-05-01 14:21:47 +02:00
satoqz
fd8eee7219
implement compiler changes 2023-05-01 13:59:57 +02:00
Alexander Wang
e93682d7f5
fix elk issue when container named root
changelog
2023-04-29 20:27:33 -07:00
Gavin Nishizawa
e620c4dcc5
save grid_oom test 2023-04-28 19:50:04 -07:00
Gavin Nishizawa
9957574cc6
add slow_grid, grid_oom tests 2023-04-28 19:49:45 -07:00
Gavin Nishizawa
2896862a42
update tests 2023-04-28 18:03:38 -07:00
Gavin Nishizawa
8409702ef0
add grid_even test 2023-04-28 17:59:07 -07:00
Alexander Wang
7c401a4806
implement arrays for classes
update

changelog
2023-04-27 15:12:39 -07:00
Alexander Wang
cd34ddcc4c
model_order cycle breaking elk 2023-04-20 11:44:00 -07:00
Antoine Poivey
9e400b254b
uppdate test post merge 2023-04-20 16:53:02 +02:00
Antoine Poivey
760dbfe5ae
merge with master 2023-04-20 16:48:52 +02:00
Alexander Wang
88e71c3088
fix elk self loop spacing 2023-04-19 20:09:53 -07:00
Gavin Nishizawa
96e2293f6d
update tests 2023-04-18 13:05:34 -07:00
Gavin Nishizawa
62819ce70c
update test 2023-04-18 13:02:20 -07:00
Gavin Nishizawa
61faa5ba7e
add empty_md_measurement test 2023-04-18 13:01:10 -07:00
Alexander Wang
648161fbea
bump version 2023-04-17 18:47:47 -07:00
Gavin Nishizawa
913c170985
update tests 2023-04-17 13:16:34 -07:00
Gavin Nishizawa
dcc9d7dfa9
update new tests 2023-04-17 13:14:56 -07:00
Gavin Nishizawa
2660c1405d
add arrowhead_sizes_with_labels test 2023-04-17 13:01:36 -07:00
Gavin Nishizawa
ba5691d240
add long_arrowhead_label test 2023-04-17 10:52:56 -07:00
Bernard Xie
1b740f65e5
code snippet test 2023-04-13 15:26:05 -07:00
Bernard Xie
38b9fe8e68
test 2023-04-13 13:59:54 -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
Alexander Wang
cce35e5d05
Merge pull request #1190 from tmc/add-ent2d2-e2e-test
e2etests: Add ent2d2 test case
2023-04-12 22:24:59 -07:00
Gavin Nishizawa
3837d4921b
update tests 2023-04-12 20:21:22 -07:00
Travis Cline
3138313419
e2etests: Add ent2d2 test case 2023-04-12 20:20:08 -07:00
Gavin Nishizawa
184d208124
add md_fontsize_10 test 2023-04-12 19:01:48 -07:00
gavin-ts
1a81930876
Merge pull request #1178 from gavin-ts/grid-gap-keywords
Grid gap keywords
2023-04-12 15:23:52 -07:00
Gavin Nishizawa
c0e164e44b
rename to horizontal-gap and vertical-gap 2023-04-12 13:51:04 -07:00
Gavin Nishizawa
52879d312b
update test 2023-04-12 11:50:03 -07:00
Gavin Nishizawa
22a2b80f5f
update test 2023-04-10 20:06:06 -07:00
Gavin Nishizawa
c8cd27dc5d
add grid_gap e2e test 2023-04-10 20:04:23 -07:00
Gavin Nishizawa
7c1738ce5a
update tests 2023-04-10 15:08:13 -07:00
Gavin Nishizawa
e69e8abcb5
update test 2023-04-10 15:06:26 -07:00
Gavin Nishizawa
649a3f0f78
add md_font_weight test 2023-04-10 15:06:25 -07:00
Gavin Nishizawa
3cc67fdae4
add grid_animated test 2023-04-10 14:15:58 -07:00
Gavin Nishizawa
0ee24db7ec
update tests 2023-04-10 14:15:23 -07:00
Gavin Nishizawa
ab8b163aab
update test 2023-04-10 10:35:16 -07:00
Gavin Nishizawa
4bfbaba301
add grid_in_constant_near test 2023-04-10 10:34:49 -07:00
Stoica Alex
a260068d2c
Add text-transform attribute to the style block
This provides an option to override the functionality provided by the
theme, or apply `text-transform` outside of the theme.

The functionality of the `text-transform` is as below:

- `text-transform: none` - will disable **any** transformation (like the uppercasing by `terminal` theme)
- `text-transform: uppercase` (uppercase not upper as per your message) - will force all characters into uppercase.
- `text-transform: lowercase` - will force all characters into lowercase.
- `text-transform: capitalize` - will uppercase the first letter of every word

In addition, this commit introduces:
- helper methods on the `d2graph.Style` struct to determine the type of
  `text-transform` to be applied.
- `ApplyTextTransform` method on the `d2graph.Attributes` which will
  transform the `Label.Value` to the correct text case.
2023-04-08 18:56:13 +01:00
Alexander Wang
dbc3a69951
fix solo near 2023-04-08 10:07:56 -07:00
Bernard Xie
bceb7e9104
markdown class has to have diagramHash targeting 2023-04-07 16:45:57 -07:00
Alexander Wang
189e5a005c
Merge pull request #1140 from alexstoick/feat/lifeline-inherit-actor-style
Lifeline should inherit the stroke style from the actor
2023-04-07 14:00:12 -07:00
Stoica Alex
2a93d21420
Lifeline should inherit the stroke style from the actor
Fixes #1137
2023-04-07 21:31:08 +01: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-ts
b3511d1248
Merge pull request #1122 from gavin-ts/grid-layouts
new grid layout with rows/columns
2023-04-06 19:22:24 -07:00
Gavin Nishizawa
a75d4dd0b9
update keywords rows -> grid-rows 2023-04-06 15:48:01 -07:00
Antoine Poivey
e59a50fd08
merge with master 2023-04-06 19:04:53 +02:00
Antoine Poivey
72efc70ad0
add tests 2023-04-06 18:53:54 +02:00
Gavin Nishizawa
8b3ba86da3
update test 2023-04-05 20:03:07 -07:00
Alexander Wang
a2cffc9341
fix inheritence bug 2023-04-05 19:29:08 -07:00
Gavin Nishizawa
44f2d7a47f
update grid_tests 2023-04-05 11:03:04 -07:00
Gavin Nishizawa
0dc6a808e3
update test 2023-04-04 20:23:18 -07:00
Gavin Nishizawa
18e72880e0
add executive_grid test 2023-04-04 20:19:42 -07:00
Gavin Nishizawa
69ceb5be1a
add grid_tests test 2023-04-04 20:12:21 -07:00
Gavin Nishizawa
d7fd7d73c3
update test 2023-04-04 14:04:20 -07:00
Alexander Wang
cadaaeb21f
add padding between dagre labels 2023-04-04 13:50:12 -07:00
Gavin Nishizawa
bcc4ce1e92
update test 2023-04-04 13:47:51 -07:00
Gavin Nishizawa
a9a7d23ffd
update test 2023-04-04 13:45:16 -07:00
Gavin Nishizawa
7ac72140c7
fixing rows creation 2023-04-04 13:44:41 -07:00
Gavin Nishizawa
bb090becb8
update tests 2023-04-03 21:38:31 -07:00
Gavin Nishizawa
c958269b03
more dynamic grid sizing according to node sizes 2023-04-03 21:38:08 -07:00
Gavin Nishizawa
0ed4bfe244
add dagger_grid test 2023-04-03 21:36:43 -07:00
Gavin Nishizawa
13a8ca0e9f
update test 2023-04-03 13:49:36 -07:00
Gavin Nishizawa
67ca089a4b
update test 2023-04-03 13:49:09 -07:00
Gavin Nishizawa
5b22382cfd
add teleport_grid test 2023-04-03 13:48:20 -07:00
donglixiaoche
ffa39a0ad8
chore: regenerate testcases 2023-03-31 21:44:10 +08:00
donglixiaoche
9089253872
Merge branch 'master' into near-keys-for-container 2023-03-31 21:18:46 +08:00
Alexander Wang
e9d9ee5db2
regen 2023-03-29 21:07:05 -07:00
Alexander Wang
ab25a7a8ab
fix origami theme 2023-03-29 21:05:42 -07:00
gavin-ts
cc893945da
Merge pull request #1101 from gavin-ts/arrowhead-scaling
adjust arrowhead scaling
2023-03-29 20:23:18 -07:00
Gavin Nishizawa
b059ac70ab
update tests 2023-03-29 20:15:47 -07:00
Gavin Nishizawa
b9fd6231e3
add arrowhead_scaling test 2023-03-29 20:14:09 -07:00
Alexander Wang
76cc889c18
fix latex uppercasing 2023-03-29 20:11:56 -07:00
Alexander Wang
e98c34a34c
origami theme 2023-03-29 20:01:52 -07:00
Gavin Nishizawa
d59773399d
update test 2023-03-29 16:42:41 -07:00
Gavin Nishizawa
74f1efdd47
add bold_edge_label test 2023-03-29 16:41:29 -07:00
Bernard Xie
a0d88b39f5
new test data 2023-03-29 15:18:45 -07:00
Bernard Xie
fb0b21fb26
add connection arrowhead labels 2023-03-29 14:31:00 -07:00
Bernard Xie
322d253fce
rename cutset -> corpus 2023-03-29 10:03:44 -07:00
Bernard Xie
28d14ac65e
revert 2023-03-29 09:54:38 -07:00
Bernard Xie
6a7a9b9798
revert regression test results 2023-03-28 15:32:28 -07:00
Bernard Xie
4ed9361ee7
fix tests 2023-03-28 15:26:32 -07:00
Bernard Xie
23cca0000b
fix tests, remove italic style 2023-03-28 15:18:28 -07:00
Bernard Xie
70b4fd8912
copy byte slice first 2023-03-28 13:58:53 -07:00
Bernard Xie
48a7472667
add and fix utf8cutfont 2023-03-27 19:19:12 -07:00
Bernard Xie
0dab848b53
make.sh 2023-03-27 15:57:49 -07:00
Bernard Xie
1dbba3c38e
test.sh 2023-03-27 15:48:06 -07:00
Bernard Xie
f195053ef3
small change 2023-03-27 15:38:53 -07:00
Bernard Xie
62faa1ef33
remove unused 2023-03-27 15:02:25 -07:00
Bernard Xie
ff1ef999a3
tests still borken 2023-03-27 14:46:03 -07:00
Bernard Xie
02673d423d
subset test 2 2023-03-27 14:22:58 -07:00
Bernard Xie
7a137227e7
test without woff 2023-03-27 14:17:48 -07:00
Bernard Xie
2d6243ded3
cutset test 2023-03-27 13:41:40 -07:00
Bernard Xie
e89166d469
add class symbols 2023-03-27 13:32:00 -07:00
Bernard Xie
9a330bc853
make test files 2023-03-27 12:12:48 -07:00
Bernard Xie
a08dedd86f
e2e test differences 2023-03-27 11:48:59 -07:00
Bernard Xie
09ff003a70
test data 2023-03-27 11:35:01 -07:00
Bernard Xie
9219501584
fix tables and classes 2023-03-27 11:24:18 -07:00
Bernard Xie
88481dec1e
more test data 2023-03-27 11:08:10 -07:00
Bernard Xie
4682c010a0
add test changes 2023-03-27 10:51:57 -07:00
Bernard Xie
513f813cd9
Merge branch 'master' into 765/custom-fonts 2023-03-27 10:37:32 -07:00
donglixiaoche
4760888d15
chore: regenerate testcases 2023-03-27 21:42:43 +08:00
donglixiaoche
d33efa28f2
chore: new testcase 2023-03-27 21:38:11 +08:00
donglixiaoche
6844413820
chore: new testcase 2023-03-27 21:38:10 +08:00
donglixiaoche
2ae1636140
fix: regenerate testcases 2023-03-27 21:38:10 +08:00
donglixiaoche
17c4851618
fix: calc labelDimension 2023-03-27 21:38:10 +08:00
donglixiaoche
b9a94ca11f
fix: cr, more testcase 2023-03-27 21:38:09 +08:00
donglixiaoche
5820ba5889
chore: regenerate testcases 2023-03-27 21:38:08 +08:00
donglixiaoche
4df8864917
chore: regenerate testcases 2023-03-27 21:38:08 +08:00
donglixiaoche
f62304dac9
chore: add e2e testcase 2023-03-27 21:38:08 +08:00
Alexander Wang
f30efc5f62
animate-interval 2023-03-26 21:34:41 -07:00
Bernard Xie
488ad25093
new test data 2023-03-24 17:34:11 -07:00
Alexander Wang
c763874fb8
lower paper opacity 2023-03-22 18:07:42 -07:00
Alexander Wang
436531dbc2
paper pattern 2023-03-20 19:08:56 -07:00
Alexander Wang
2684f3bfde
[ci-base] bump version in src 2023-03-20 11:57:25 -07:00
Alexander Wang
95bc2e4fb5
fix multiple br 2023-03-18 14:45:58 -07:00