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
Anmol Sethi
154c7e8947
d2compiler: Integrate d2ir (wip)
2023-01-24 03:24:30 -08:00
Anmol Sethi
3e7bdc5468
d2compiler: Integrate d2ir (wip)
2023-01-24 03:24:29 -08:00
Anmol Sethi
afa26752e6
d2compiler: Integrate d2ir (wip)
2023-01-24 03:24:28 -08:00
Anmol Sethi
6543bf217a
d2compiler: Integrate d2ir (wip)
2023-01-24 03:24:28 -08:00
Anmol Sethi
bd7b5c3fc0
d2ir: Add Map.CopyBase for better performance
2023-01-24 03:24:28 -08:00
Anmol Sethi
ece34aaf01
d2ir: Add recursive scenario/step test
2023-01-24 03:24:27 -08:00
Anmol Sethi
26a72e3e0c
d2ir: Add recursive scenario/step test
2023-01-24 03:24:27 -08:00
Anmol Sethi
9d0c73cef2
d2ast: Make null ScalarString empty string
...
So people know it's special at least until I fix d2compiler.
2023-01-24 03:24:27 -08:00
Anmol Sethi
4424a0f10e
d2ir: Fully implement scenarios/steps
2023-01-24 03:24:26 -08:00
Anmol Sethi
d239b8dad1
d2ir: Fully implement scenarios/steps
2023-01-24 03:24:26 -08:00
Anmol Sethi
7d89174a1b
d2ir: IR Root wip
2023-01-24 03:24:25 -08:00
Anmol Sethi
748557d8f2
d2ir: IR Root wip
2023-01-24 03:24:24 -08:00
Anmol Sethi
180334a8e1
d2ir: IR Root wip
2023-01-24 03:24:23 -08:00
Anmol Sethi
6e04ebb304
d2ir: IR Root wip
2023-01-24 03:24:22 -08:00