Anmol Sethi
0507946672
fmt: Accept multiple files to be formatted
...
Closes #718
2023-01-27 07:31:12 -08:00
Gavin Nishizawa
c4efe2812f
check message ref is group
2023-01-26 18:39:33 -08:00
Gavin Nishizawa
22231aa8e4
changelog
2023-01-26 18:08:37 -08:00
Gavin Nishizawa
a54a0324c3
update test
2023-01-26 18:02:33 -08:00
Gavin Nishizawa
74b0ed2064
only add message offset after loops in another group
2023-01-26 18:02:32 -08:00
Gavin Nishizawa
576c8df2c8
update message offset for self messages
2023-01-26 18:02:32 -08:00
Gavin Nishizawa
46f3b31742
add sequence_diagram_self_edge_group_overlap regression test
2023-01-26 18:02:32 -08:00
Gavin Nishizawa
ce0d81650d
update tests
2023-01-26 16:45:14 -08:00
Gavin Nishizawa
bd23d0758b
update hexagon inner box
2023-01-26 16:44:20 -08:00
Gavin Nishizawa
597bc319bf
update other chopPrecision
2023-01-26 16:44:20 -08:00
Gavin Nishizawa
fed4bd2b9f
ceil dimensions to fit
2023-01-26 16:44:20 -08:00
Gavin Nishizawa
e367a007e5
chopPrecision once at end
2023-01-26 16:44:20 -08:00
Gavin Nishizawa
f30fe2c2c4
round from float32 precision
2023-01-26 16:44:20 -08:00
Gavin Nishizawa
c12e71af15
update circle fitting
2023-01-26 16:44:19 -08:00
Gavin Nishizawa
cc8c7756ab
cleanup
2023-01-26 16:44:19 -08:00
Gavin Nishizawa
b2036e8bdf
fix sequence diagram actor shape scaling
2023-01-26 16:44:19 -08:00
Gavin Nishizawa
162227e196
only add extra x padding for non-special shapes
2023-01-26 16:44:19 -08:00
Gavin Nishizawa
d5f2ed00d5
handle person shape aspect ratio
2023-01-26 16:44:19 -08:00
Gavin Nishizawa
b1beddc9e2
Adjust padding per shape
2023-01-26 16:44:19 -08:00
Gavin Nishizawa
6f26167beb
fix class dimensions
2023-01-26 16:44:19 -08:00
Gavin Nishizawa
0311a3f7d7
use paddingX and paddingY in GetDimensionsToFit
2023-01-26 16:44:19 -08:00
Gavin Nishizawa
b76d43536d
remove debugging code
2023-01-26 16:44:18 -08:00
Gavin Nishizawa
23097370e2
set up shape specific inner bounding boxes for labels
2023-01-26 16:43:36 -08:00
Alexander Wang
12ee7ae278
[ci-base] double-circle -> double-border
2023-01-26 16:42:41 -08:00
Alexander Wang
9b0f942c05
[ci-base] update
2023-01-26 16:35:22 -08:00
Alexander Wang
6f1b674537
Merge branch 'terrastruct:master' into master
2023-01-26 16:30:32 -08:00
Alexander Wang
bea8a47ece
Merge pull request #565 from OneRain233/master
...
Implement the `double_circle` shape including basic shape and the sketch.
2023-01-26 16:30:17 -08:00
OneRain2333
6aef38a55c
Delete .idea
2023-01-26 09:33:53 +08:00
Kevin David
9ba1d85d21
d2graph: check that font family is entirely loaded before using it
...
I tested this by removing the changes I added in `d2fonts`, which led to:
```
[21:23:54] info: compiling GetUniqueColumnName-fix.d2...
[21:23:54] err: failed to compile: ruler does not have entire font family SourceCodePro loaded, is a style missing?
```
The error was also rendered in the UI.
2023-01-24 21:25:01 -05:00
Kevin David
500e3e179e
SourceCodePro bold/italic: use .woff for encoded fonts instead of .ttf
...
Sourced from: https://github.com/adobe-fonts/source-code-pro/releases/tag/2.038R-ro%2F1.058R-it%2F1.018R-VAR
Translated with the following commands:
```
base64 -i ~/Downloads/WOFF-source-code-pro-2.038R-ro-1.058R-it/TTF/SourceCodePro-It.ttf.woff -o ./d2renderers/d2fonts/encoded/SourceCodePro-Italic.txt
base64 -i ~/Downloads/WOFF-source-code-pro-2.038R-ro-1.058R-it/TTF/SourceCodePro-Bold.ttf.woff -o ./d2renderers/d2fonts/encoded/SourceCodePro-Bold.txt
```
I used the `.ttf.woff` files because that seemed "closer" to the original `.ttf` files included, but I'm not sure if that's correct.
2023-01-24 21:20:16 -05:00
Anmol Sethi
310afcdf86
Merge remote-tracking branch 'upstream/master' into scenarios-a407
2023-01-24 15:29:38 -08:00
Anmol Sethi
335d925b7c
deps: update [ci-force]
2023-01-24 15:27:12 -08:00
Anmol Sethi
c77b4acc4e
deps: update [ci-force]
2023-01-24 15:25:18 -08:00
Anmol Sethi
afd2768880
docs/flow.d2: Update [ci-base]
2023-01-24 15:14:53 -08:00
Anmol Sethi
46ccb5de87
ci: Update [ci-force]
2023-01-24 15:07:42 -08:00
Anmol Sethi
73c6e57998
deps: update [ci-force]
2023-01-24 15:00:25 -08:00
Alexander Wang
5a1cf0270c
Merge branch 'terrastruct:master' into master
2023-01-24 15:00:17 -08:00
Anmol Sethi
ca84d9e152
install.sh: Regen [ci-force]
2023-01-24 14:59:43 -08:00
Anmol Sethi
1373655894
install.sh: Regen
2023-01-24 14:57:51 -08:00
Alexander Wang
4ed989b114
Merge pull request #715 from alixander/empty-class
...
fix empty labels with class & sql_tables w/ premeasured texts
2023-01-24 14:57:38 -08:00
Alexander Wang
5059085f3c
fix empty labels with class & sql_tables w/ premeasured texts
2023-01-24 14:52:15 -08:00
Anmol Sethi
af97795e42
Merge remote-tracking branch 'upstream/master' into scenarios-a407
2023-01-24 14:37:07 -08:00
Anmol Sethi
4c0ee82ca7
deps: update [ci-force]
2023-01-24 14:33:37 -08:00
Anmol Sethi
4afd33c4ec
Merge pull request #713 from nhooyr/docker-png-b6d1
...
Dockerfile: Add playwright support for rendering PNGs
2023-01-24 11:50:44 -08:00
Anmol Sethi
ccabee9e7d
next.md: Add Dockerfile release note
2023-01-24 05:33:26 -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
566ea11db7
d2compiler: Integrate d2ir (wip)
2023-01-24 03:24:32 -08:00
Anmol Sethi
b900f63414
d2compiler: Integrate d2ir (wip)
2023-01-24 03:24:31 -08:00