Commit graph

126 commits

Author SHA1 Message Date
Alexander Wang
1baf999760
update right font 2023-02-06 13:14:31 -08:00
Alexander Wang
ea58e1139b
update back font size 2023-02-06 13:12:43 -08:00
Alexander Wang
01445768d8
fix for class 2023-02-06 00:47:13 -08:00
Alexander Wang
301e692a24
fix sql table font-size 2023-02-06 00:42:28 -08:00
Alexander Wang
fc3b7286a8
changes 2023-02-05 01:54:35 -08:00
Gavin Nishizawa
220351d48d
fix height of class with no rows 2023-02-03 18:28:26 -08:00
Gavin Nishizawa
f4dcaa481d
cleanup 2023-02-03 15:34:41 -08:00
Gavin Nishizawa
e524f43566
refactor and fix #699 2023-02-03 14:53:17 -08:00
Gavin Nishizawa
1567de64e1
don't set obj.LabelDimensions with padding 2023-02-03 13:53:24 -08:00
Gavin Nishizawa
4bfb6af7e6
Merge branch 'master' into shape-specific-inner-boxes 2023-02-02 20:25:52 -08:00
Anmol Sethi
8860b6b716
d2graph: Sort objects by AST order 2023-02-02 12:24:48 -08:00
Anmol Sethi
9384800435
e2etests/testdata: Fix 2023-02-02 11:55:12 -08:00
Anmol Sethi
09dc9fd12f
Merge remote-tracking branch 'upstream/master' into scenarios-a407 2023-02-02 10:33:31 -08:00
Anmol Sethi
8f58e4ca54
d2ir: Review fixes #714 2023-02-02 10:31:09 -08:00
Anmol Sethi
da500a8437
d2ir: Review fixes #714 2023-02-02 10:31:07 -08:00
Gavin Nishizawa
1b1cdaff15
Merge branch 'master' into shape-specific-inner-boxes 2023-02-01 10:31:46 -08:00
Gavin Nishizawa
491b4b7066
cleanup 2023-01-31 16:19:22 -08:00
Gavin Nishizawa
57fa903fe6
also limit person AR with width/height attributes unless both are entered 2023-01-31 16:08:06 -08:00
Alexander Wang
b05ec48843
Merge pull request #710 from kevin-david/fonts
render: fonts: add bold + italic styles for Source Code Pro
2023-01-29 14:13:31 -08:00
Anmol Sethi
291f2fdfe3
d2ir: Review fixes #714 2023-01-27 23:45:04 -08:00
Anmol Sethi
30b5b64cad
d2ir: Review fixes #714 2023-01-27 23:19:50 -08:00
Anmol Sethi
192cb10a61
d2ir: Review fixes #714 2023-01-27 17:19:55 -08:00
Anmol Sethi
f056700152
d2ir: Review fixes #714 2023-01-27 17:19:12 -08:00
Gavin Nishizawa
c4db001781
fix unlabelled circle/square with desired width/height 2023-01-27 11:51:03 -08:00
Gavin Nishizawa
d6493887d9
cleanup desiredWidth/Height 2023-01-27 11:41:10 -08:00
Gavin Nishizawa
f6caac0127
use label height for padding shapes with icons 2023-01-27 10:57:55 -08:00
Gavin Nishizawa
781194e8ba
add class row ascii diagram 2023-01-27 10:52:46 -08:00
Anmol Sethi
2d36513e2c
Merge remote-tracking branch 'upstream/master' into scenarios-a407 2023-01-27 10:51:33 -08:00
Anmol Sethi
caef5a5a8f
cli: Add support for rendering layers/scenarios/steps 2023-01-27 10:41:25 -08:00
Gavin Nishizawa
c4efe2812f
check message ref is group 2023-01-26 18:39: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
162227e196
only add extra x padding for non-special shapes 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
23097370e2
set up shape specific inner bounding boxes for labels 2023-01-26 16:43:36 -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
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
Anmol Sethi
310afcdf86
Merge remote-tracking branch 'upstream/master' into scenarios-a407 2023-01-24 15:29: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
b350399d66
d2ir: Complete integration across all packages 2023-01-24 03:24:35 -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
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
989fdb0fe5
d2ir: wip 2023-01-24 03:23:17 -08:00
Anmol Sethi
c9ef6ab9c9
d2graph: Implement deep copying a graph 2023-01-24 02:56:30 -08:00
Anmol Sethi
8ea2c71b99
d2graph: Remove TODO 2023-01-24 02:55:13 -08:00
OneRain2333
344718dad3 Remove double circle shape 2023-01-24 16:21:25 +08:00
OneRain2333
9575c768dc Make to be a style attribute and remove shape 2023-01-24 16:21:25 +08:00