Commit graph

272 commits

Author SHA1 Message Date
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
Alexander Wang
69a4b31aa8
Merge pull request #799 from alixander/rx
fix border-radius for firefox
2023-02-12 12:37:19 -08:00
Alexander Wang
b842aade73
ok 2023-02-12 12:30:33 -08:00
Alexander Wang
1bedf5b7a2
Test 2023-02-12 12:27:18 -08:00
Alexander Wang
2ab9f434e1
escape using html 2023-02-12 12:01:33 -08:00
Alexander Wang
0f9d98fa8a
Merge branch 'master' into tune-spacing 2023-02-10 21:27:10 -08:00
Alexander Wang
3a15e707a1
Merge branch 'master' into tune-spacing 2023-02-10 21:19:50 -08:00
Gavin Nishizawa
94bf92a28b
use per-axis padding 2023-02-10 16:19:19 -08:00
Alexander Wang
b12c878cf2
crows feet tuning 2023-02-10 00:57:15 -08:00
Alexander Wang
4aaaf8dfa2
elk 2023-02-09 19:49:53 -08:00
Alexander Wang
8736a16f8f
cleanup 2023-02-09 14:16:20 -08:00
Alexander Wang
ad24108446
label fill 2023-02-09 14:14:31 -08:00
Gavin Nishizawa
1567de64e1
don't set obj.LabelDimensions with padding 2023-02-03 13:53:24 -08:00
Gavin Nishizawa
1b1cdaff15
Merge branch 'master' into shape-specific-inner-boxes 2023-02-01 10:31:46 -08:00
Vojtěch Fošnár
aa019a9329
resolve conflicts 2023-01-30 12:22:14 +01:00
Vojtěch Fošnár
01928a5032
review fixes 2023-01-30 12:06:54 +01:00
Alexander Wang
8b141d37f0
use bold and italic for code snippets 2023-01-29 14:17:34 -08:00
Vojtěch Fošnár
6598a1023f
fixed appendix text color 2023-01-28 01:43:24 +01:00
Vojtěch Fošnár
af2be1232f
resolved conflicts, updated tests 2023-01-27 22:30:44 +01:00
Vojtěch Fošnár
462bd1e23d
resolve conflicts 2023-01-27 21:08:01 +01: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
OneRain2333
c0821de872 rebase and bug fix 2023-01-24 17:29:38 +08:00