Commit graph

19 commits

Author SHA1 Message Date
Alexander Wang
1cfa97b759
bump tests 2023-06-09 20:50:58 -07:00
Alexander Wang
947a5cd5dc
bump 2023-06-08 19:49:09 -07:00
Gavin Nishizawa
9a15663d8b
option: connection clearly visibile but transparent 2023-06-08 19:32:42 -07:00
Gavin Nishizawa
53c3e3d57e
update tests 2023-06-08 19:11:18 -07:00
Gavin Nishizawa
8d623a2597
update tests 2023-06-08 14:22:42 -07:00
Gavin Nishizawa
4dfd5d960d
update tests 2023-06-08 14:02:52 -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
152557fa2c
update tests 2023-05-25 18:47:45 -07:00
Gavin Nishizawa
bdd7dc51d3
update tests 2023-05-25 16:22:24 -07:00
Alexander Wang
cd6c6b6fda
bump tests 2023-05-01 13:53:19 -07:00
Alexander Wang
cd34ddcc4c
model_order cycle breaking elk 2023-04-20 11:44:00 -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
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
Alexander Wang
cadaaeb21f
add padding between dagre labels 2023-04-04 13:50:12 -07:00
Alexander Wang
ab25a7a8ab
fix origami theme 2023-03-29 21:05:42 -07:00
Alexander Wang
e98c34a34c
origami theme 2023-03-29 20:01:52 -07:00