Commit graph

294 commits

Author SHA1 Message Date
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
711716a68b
fix tooltips 2023-07-26 22:46:28 -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
f53afc485a
fix labelbox adustments for multiple/3d shapes 2023-07-13 11:42:40 -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
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
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
Gavin Nishizawa
9a15663d8b
option: connection clearly visibile but transparent 2023-06-08 19:32:42 -07:00
Gavin Nishizawa
4373d81e84
set transparent labelMask for shapes 2023-06-08 19:10:06 -07:00
Gavin Nishizawa
182af8dc39
comments, renaming 2023-05-26 12:37:51 -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
Antoine Poivey
760dbfe5ae
merge with master 2023-04-20 16:48:52 +02: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
Gavin Nishizawa
d02e1ebb52
update markdown text measurement and rendering to use font-size 2023-04-12 20:14:45 -07:00
Gavin Nishizawa
07faf97941
using semibold 2023-04-10 15:06:26 -07:00
Gavin Nishizawa
423c7e88eb
use semibold font instead of font-weight: 600 2023-04-10 15:06:26 -07:00
Gavin Nishizawa
2203246b3c
support multiboard rendering in e2e tests 2023-04-10 14:12:23 -07:00
Bernard Xie
bceb7e9104
markdown class has to have diagramHash targeting 2023-04-07 16:45:57 -07:00
Alexander Wang
305c72d239
implement classes 2023-04-07 09:57:51 -07:00
Antoine Poivey
e59a50fd08
merge with master 2023-04-06 19:04:53 +02:00
Antoine Poivey
72efc70ad0
add tests 2023-04-06 18:53:54 +02:00
Gavin Nishizawa
1145c09d0f
adjust arrowhead scaling 2023-03-29 20:14:22 -07:00
Bernard Xie
f2aca1bb4b
getCorpus 2023-03-29 13:50:00 -07:00
Bernard Xie
322d253fce
rename cutset -> corpus 2023-03-29 10:03:44 -07:00
Bernard Xie
8e07980b06
Revert "remove GetUniqueChars"
This reverts commit da7e2fbcc7.
2023-03-29 09:51:36 -07:00
Bernard Xie
47d8d12631
remove spew 2023-03-28 15:19:03 -07:00
Bernard Xie
23cca0000b
fix tests, remove italic style 2023-03-28 15:18:28 -07:00
Bernard Xie
da7e2fbcc7
remove GetUniqueChars 2023-03-28 15:11:23 -07:00
Bernard Xie
1c71ad40f4
remove spew 2023-03-27 15:25:43 -07:00
Bernard Xie
2d6243ded3
cutset test 2023-03-27 13:41:40 -07:00
Bernard Xie
513f813cd9
Merge branch 'master' into 765/custom-fonts 2023-03-27 10:37:32 -07:00
Alexander Wang
f30efc5f62
animate-interval 2023-03-26 21:34:41 -07:00
Bernard Xie
7c146dd213
subset fonts 2023-03-24 19:50:16 -07:00
Bernard Xie
6f74209a78
Add font-style italic to .text-italic 2023-03-24 17:27:26 -07:00
Alexander Wang
436531dbc2
paper pattern 2023-03-20 19:08:56 -07:00
Alexander Wang
98e61995e4
center flag 2023-03-17 22:32:48 -07:00
Antoine Poivey
58b596854b
merge with master 2023-03-17 18:54:12 +01:00
Antoine Poivey
cd1027314e
feat: check border-radius value value before checking its decimals. New rx and ry compute method. 2023-03-17 18:52:21 +01:00
Alexander Wang
c30887b363
new fill-patterns, grayscale 2023-03-15 23:02:17 -07:00
Alexander Wang
36e546c8b4
Merge branch 'master' into pattern 2023-03-14 10:00:56 -07:00
Alexander Wang
b4f711c93d
real 2023-03-13 23:12:41 -07:00
Alexander Wang
1f6a361b3f
implement pattern 2023-03-13 23:01:33 -07:00
Alexander Wang
0292ea2627
add exif to png 2023-03-13 17:58:47 -07:00
Alexander Wang
2f2056da2a
embed d2 version in svg 2023-03-13 16:26:42 -07:00
Alexander Wang
0155bbabb5
connection mono 2023-03-13 16:14:50 -07:00
Alexander Wang
f1d4641d42
Merge branch 'master' into mono-font 2023-03-13 16:04:59 -07:00
Alexander Wang
c8e7fd3bc0
isolate CSS targeting to be diagram specific 2023-03-11 17:20:59 -08:00
Alexander Wang
ba282b5f96
font: mono 2023-03-09 20:06:15 -08:00
donglixiaoche
1cb1fd4344
fix: cr 2023-03-10 09:54:35 +08:00
Antoine Poivey
6632740fb1
feat: add possiblity to set shape border-radius with percentage value 2023-03-09 17:10:12 +01:00
donglixiaoche
a96bb2c0be
fix: cr, rename func 2023-03-09 16:56:03 +08:00
donglixiaoche
2d66f3105a
fix: cr, add labelMaskID for clipPath 2023-03-09 16:45:18 +08:00
donglixiaoche
de42aa58e7
fix: add clipPath for only ShapeClass and SQLTable 2023-03-09 09:41:26 +08:00
donglixiaoche
4850038406
feat: sql_table border radius 2023-03-09 09:30:15 +08:00
Gavin Nishizawa
edaf5de5c0
escape text 2023-03-06 20:07:26 -08:00
Alexander Wang
366ebb5b9b
[ci-base] cleanup last 2023-03-03 21:25:06 -08:00
Alexander Wang
73239c3e97
update 2023-03-03 21:02:02 -08:00
Alexander Wang
ea80d53a16
upgrade chroma 2023-03-03 20:08:13 -08:00
Gavin Nishizawa
94b2a39a70
fit svg to top left by default 2023-03-01 17:40:28 -08:00
donglixiaoche
e88c60fe55
fix: default border-radius for BaseConnection 2023-03-01 08:09:39 +08:00
donglixiaoche
2dd120294f
fix: default elk border-radius 2023-03-01 08:09:38 +08:00
donglixiaoche
84905ded9e
feat: elk border-radius 2023-03-01 08:09:38 +08:00
Alexander Wang
ead2850fc4
Merge pull request #933 from alixander/sketch-fill
fix sketch overlays, double-border
2023-02-27 19:31:05 -08:00
Alexander Wang
44248e9981
fix sketch 2023-02-27 19:26:19 -08:00
Gavin Nishizawa
2782432d85
disable fit to screen and set exact dimensions on svg for png export 2023-02-27 19:22:02 -08:00
Jett Chen
c9477639cc
Merge branch 'master' into 3d-hexagon 2023-02-27 10:22:09 +08:00
JettChenT
5b5a976b7c
squash commits
upate tests

Update changelog

add support for Fill

update test case

resolve changes
2023-02-27 09:50:18 +08:00
Alexander Wang
87eae1b616
implement background styles 2023-02-26 16:23:51 -08:00
Alexander Wang
4d4073ee27
Merge branch 'master' into fitToScreen-alternative 2023-02-25 08:29:42 -08:00
Alexander Wang
0216c8b5f0
fix font-color for tables and class 2023-02-24 20:39:34 -08:00
Gavin Nishizawa
b43e2a44b4
option placing in center rather than top left 2023-02-24 18:55:42 -08:00
Gavin Nishizawa
5f085c3d82
add alternative method for fit to screen 2023-02-24 15:07:28 -08:00
Gavin Nishizawa
45e58fdca5
remove fit to screen script 2023-02-24 14:58:45 -08:00
Vojtěch Fošnár
ba72dfa5d5
fix appendix background 2023-02-23 13:22:36 +01:00
Vojtěch Fošnár
79abc91ea3
fix filled circle arrowhead offset 2023-02-22 18:50:06 +01:00
Vojtěch Fošnár
5e35b68603
finally fixed tests? 2023-02-21 09:33:13 +01:00
Vojtěch Fošnár
2cea6ba7f0
fix class header, exercise dark theme for appendix, update tests 2023-02-20 20:54:32 +01:00
Vojtěch Fošnár
3da8a5c8aa
automatically add xml namespace to divs, small tweaks 2023-02-19 20:34:42 +01:00
Vojtěch Fošnár
732f5c241f
bgColor and fgColor are now just constants 2023-02-19 15:54:17 +01:00
Vojtěch Fošnár
6e64949b9e
use pointer for DarkThemeID 2023-02-19 15:33:40 +01:00
Vojtěch Fošnár
46766d0f04
fix sketch tests, better trigger system 2023-02-19 14:26:24 +01:00
Vojtěch Fošnár
331cf95284
move ThemableElement and others to d2themes, smaller fixes 2023-02-19 13:00:01 +01:00
Vojtěch Fošnár
6a89beaeb1
merge updates 2023-02-19 12:32:44 +01:00
Gavin Nishizawa
3de8d0b5c4
fix connection label mask coordinates 2023-02-15 11:45:25 -08:00
Alexander Wang
e37fc89bb1
icons in top left of containers 2023-02-13 10:42:47 -08:00