Commit graph

627 commits

Author SHA1 Message Date
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
4b931f7aec
cleanup 2023-04-17 14:46:10 -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
6e4faefb4b
position arrowhead labels 2023-04-17 13:01:38 -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
6e761dea0a
add grid_panic regression test 2023-04-12 11:48:52 -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
2203246b3c
support multiboard rendering in e2e tests 2023-04-10 14:12: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