Commit graph

390 commits

Author SHA1 Message Date
Gavin Nishizawa
1cfa2b9f81
use new SyncMap with FontFaces/FontEncoding 2023-10-30 12:15:32 -07:00
Gavin Nishizawa
6b255c61da
d2fonts.FontEncodings sync.Map 2023-10-24 16:31:30 -07:00
Alexander Wang
5e94849543
bump d2 version to 0.6.1 2023-09-25 13:16:55 -07:00
Gavin Nishizawa
b55ff3debc
only set font-size if different from default 2023-09-25 12:17:19 -07:00
Gavin Nishizawa
65d03f2ffc
apply font-size to rendered code blocks 2023-09-25 12:10:09 -07:00
Gavin Nishizawa
cfd7c3996d
render arrowhead labels using style.font-color 2023-09-11 12:22:17 -07:00
Alexander Wang
92f09091a8
fix markdown color 2023-08-08 15:20:14 -07:00
Alexander Wang
9122ce1c2b
robust hash 2023-07-29 11:31:03 -07:00
Alexander Wang
711716a68b
fix tooltips 2023-07-26 22:46:28 -07:00
Alexander Wang
fc5e80bc2e
bump version 2023-07-22 09:42:39 -07:00
Alexander Wang
3dee14eb0c
bold mono 2023-07-22 09:10:49 -07:00
Alexander Wang
45b396c894
config vars 2023-07-20 16:08:08 -07:00
Gavin Nishizawa
205bf8b43d
update tests 2023-07-14 16:12:12 -07:00
Gavin Nishizawa
f53afc485a
fix labelbox adustments for multiple/3d shapes 2023-07-13 11:42:40 -07:00
Gavin Nishizawa
ba5811c24a
update tests 2023-07-03 19:12:58 -07:00
Gavin Nishizawa
6f2eccc325
add all appendix items at the end 2023-07-03 19:06:37 -07:00
Gavin Nishizawa
dfa9600bbb
update which icon is on border for some shapes 2023-07-03 18:58:02 -07:00
Gavin Nishizawa
d38a386859
adjustments 2023-07-03 18:15:57 -07:00
Gavin Nishizawa
9fa4cda569
warnings 2023-07-03 16:18:02 -07:00
Gavin Nishizawa
8a9fa24ee6
update icon positioning according to shapes 2023-07-03 16:14:46 -07:00
Alexander Wang
469828bac5
update tests 2023-07-01 21:07:43 -07:00
gavin-ts
5829f26082
Merge pull request #1413 from gavin-ts/scale-flag
use scale flag for no-fit and customizing zoom
2023-06-26 13:54:57 -07:00
Gavin Nishizawa
deef335da4
update tests 2023-06-19 18:45:15 -07:00
Gavin Nishizawa
14300dc9f8
update leading/trailing accounting 2023-06-19 17:09:36 -07:00
Gavin Nishizawa
14afd8c433
improve code measurement and rendering 2023-06-19 17:09:36 -07:00
Gavin Nishizawa
1489c67e9f
always add connection label masks since outside labels may overlap other connections 2023-06-15 19:00:04 -07:00
Gavin Nishizawa
8563cf83c6
use scale flag for no-fit and customizing zoom 2023-06-15 16:47:26 -07:00
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
4373d81e84
set transparent labelMask for shapes 2023-06-08 19:10:06 -07:00
Alexander Wang
4147c4506c
tests 2023-06-05 11:33:34 -07:00
satoqz
665844db39
TA=1 2023-06-03 14:05:18 +02: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
182af8dc39
comments, renaming 2023-05-26 12:37:51 -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
Gavin Nishizawa
6fc9ffa04d
fixes, cleanup 2023-05-24 20:07:10 -07:00
Gavin Nishizawa
d6b8149073
adjust for 3d/multiple 2023-05-24 20:07:10 -07:00
Alexander Wang
cd6c6b6fda
bump tests 2023-05-01 13:53:19 -07:00
Antoine Poivey
760dbfe5ae
merge with master 2023-04-20 16:48:52 +02: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
Gavin Nishizawa
ca29119c60
adjust label positioning for arrowhead 2023-04-17 13:12:02 -07:00
Gavin Nishizawa
29a9630635
update bounding box for arrowhead labels 2023-04-17 13:01:38 -07:00
Gavin Nishizawa
6e4faefb4b
position arrowhead labels 2023-04-17 13:01:38 -07:00
Gavin Nishizawa
71546caeeb
render with arrowhead dimensions 2023-04-17 13:01:38 -07:00
Antoine Poivey
ed79ccae74
feat: revert percentage border-radius. Accept higher border-radius value and limit it to half of the smaller shape side to be rendered as a pill 2023-04-13 16:20:31 +02:00