Commit graph

143 commits

Author SHA1 Message Date
OneRain2333
0ad266f1c8 add borderOffset variable 2023-01-22 16:50:14 +08:00
Alexander Wang
a1bebb8b23
Merge pull request #634 from Paracelsus-Rose/master
d2renderer: #579 Circle Arrowhead
2023-01-19 17:56:36 -08:00
Alexander Wang
e2ee813f37
support border-radius
Co-authored-by: Apostolis Anastasiou <anastasiou@inaccess.com>
2023-01-19 15:28:00 -08:00
Alexander Wang
2966d393ae
fix bounding box for multiple 2023-01-19 12:39:12 -08:00
Alexander Wang
caa23a7699
ok 2023-01-19 12:28:10 -08:00
Alexander Wang
2d17947a44
account for 3d offset in bounding box 2023-01-19 11:51:30 -08:00
Paracelsus-Rose
fd43527da0
Merge branch 'master' of github.com:terrastruct/d2 into terrastruct-master 2023-01-19 14:38:24 -05:00
Alexander Wang
d832fdd6af
fix 2023-01-19 00:46:30 -08:00
Vojtěch Fošnár
1e89c33cee
removed theming code from styling methods 2023-01-15 21:38:25 +01:00
Vojtěch Fošnár
66dc978418
resolved merge conflict 2023-01-15 21:36:43 +01:00
Alexander Wang
a6b34634cd
refactor 2023-01-12 11:22:53 -08:00
Alexander Wang
48c9cc7929
sketch 2023-01-12 11:20:18 -08:00
Paracelsus-Rose
7cdec21ec8
Update d2target.go 2023-01-10 12:11:06 -05:00
Paracelsus-Rose
b0d3b9d3fd
Init 2023-01-09 22:44:45 -05:00
Vojtěch Fošnár
a81ab2d73e
support for prefers-color-scheme 2023-01-09 19:16:28 +01:00
harryjrk
2bff170c6f
rename crow foot to shorter name, add tests 2022-12-31 19:03:40 +01:00
harryjrk
8891227045
Add the crow feet variants to arrowheads
Introduce new styles for arrowhead:
  - crows-feet-many-required
  - crows-feet-many-optional
  - crows-feet-one-required
  - crows-feet-one-optional
2022-12-31 19:03:39 +01:00
OneRain2333
679474dce8 Remove double circle shape 2022-12-31 15:33:16 +08:00
OneRain2333
1b37cf4e48 Make to be a style attribute and remove shape 2022-12-31 15:26:38 +08:00
Alexander Wang
510c10227e
fix bounding boxes 2022-12-30 20:49:49 -08:00
OneRain2333
7ad0b6e99c Add double circle shape 2022-12-30 17:14:44 +08:00
Gavin Nishizawa
8b81428693
use header width for sql_tables if larger than row width 2022-12-29 12:01:31 -08:00
Alexander Wang
64d7d5f1b6
apply themes to tables and classes 2022-12-24 15:56:22 -08:00
Alexander Wang
2a03b65f1c
don't use ruler if doesn't exist 2022-12-23 08:48:54 -08:00
Alexander Wang
227afc45db
update sql texts measure 2022-12-23 00:29:03 -08:00
Alexander Wang
c828d2c825
classes 2022-12-22 11:32:41 -08:00
Alexander Wang
2f545e3f61
tables 2022-12-22 11:06:57 -08:00
Alexander Wang
07fb1a3d86
implement sketch 2022-12-21 20:55:27 -08:00
Gavin Nishizawa
018e8a82a3
refactor consts 2022-12-19 21:02:50 -08:00
Gavin Nishizawa
0c71c63b2d
export column name/type dimensions to avoid ruler in renderer 2022-12-19 17:53:58 -08:00
Gavin Nishizawa
412713e2b7
render connection label background according to style.fill 2022-12-16 15:46:14 -08:00
Toyam Cox
a1b192723f
fix builds on 32bit systems
@alixander says: This is the highest number we go to:

```
d2/lib/imgbundler/imgbundler.go
Line 25 in 3f62eed
 const maxImageSize int64 = 1 << 25 // 33_554_432
```

This is several shy of 64 bits, and even shy of 32 bits, so let's just
choose 32 bits.
2022-12-07 10:55:46 -05:00
Alexander Wang
10e58589de
fix empty diagram 2022-12-06 18:23:22 -08:00
Alexander Wang
06ea7c191a
unique label mask 2022-12-05 22:32:23 -08:00
Alexander Wang
5deb9b2d7d
blend groups 2022-12-05 11:22:16 -08:00
Anmol Sethi
a05ba67a36
go2: rm -rf 2022-12-01 10:49:15 -08:00
Júlio César Batista
347a6b263d
PR comments 2022-11-30 13:15:33 -08:00
Júlio César Batista
684b72eb5a
Change sorting order to be multi level 2022-11-30 11:22:43 -08:00
Júlio César Batista
0fc1294ae6
Rename RenderPriority -> ZIndex 2022-11-29 21:41:32 -08:00
Júlio César Batista
e7b72b4365
Add RenderPriority to objects and edges 2022-11-29 21:40:50 -08:00
Alexander Wang
3e6b3490bc
2022-11-28 02:21:50PM 2022-11-28 14:21:50 -08:00
Alexander Wang
1796dd9020
2022-11-28 02:10:24PM 2022-11-28 14:10:24 -08:00
Alexander Wang
524c089a74 oss
Co-authored-by: Anmol Sethi <hi@nhooyr.io>
2022-11-03 06:54:49 -07:00