Commit graph

541 commits

Author SHA1 Message Date
Bernard Xie
38b9fe8e68
test 2023-04-13 13:59:54 -07: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
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