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 |
|
OneRain2333
|
ca08c8937d
|
update constant
|
2023-01-24 16:25:29 +08:00 |
|
OneRain2333
|
21b84a3908
|
Use constant to define offset of double-bordered shape
|
2023-01-24 16:24:32 +08:00 |
|
OneRain2333
|
9302a14e02
|
fix typo
|
2023-01-24 16:24:32 +08:00 |
|
OneRain2333
|
9a1fed3077
|
update d2svg.go
|
2023-01-24 16:24:26 +08:00 |
|
OneRain2333
|
9a070a52f9
|
Add double bordered rect, oval, square
|
2023-01-24 16:21:25 +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 |
|
OneRain2333
|
c75e540840
|
update renderDoubleOval function
|
2023-01-24 16:21:25 +08:00 |
|
OneRain2333
|
a64d87eb61
|
Implement the sketch of double circle
|
2023-01-24 16:21:25 +08:00 |
|
OneRain2333
|
8bb86250fb
|
Add double circle shape
|
2023-01-24 16:21:25 +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
|
2966d393ae
|
fix bounding box for multiple
|
2023-01-19 12:39:12 -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 |
|
Paracelsus-Rose
|
100927e7dc
|
Seems right. Thanks Gavin.
|
2023-01-19 14:19:29 -05:00 |
|
Alexander Wang
|
74b54f3f8a
|
update
|
2023-01-19 00:52:10 -08:00 |
|
Alexander Wang
|
d832fdd6af
|
fix
|
2023-01-19 00:46:30 -08:00 |
|
Alexander Wang
|
7651aedb8c
|
fix opacity for labels
|
2023-01-19 00:26:00 -08:00 |
|
Vojtěch Fošnár
|
0803d129a2
|
updated sketch test, fixed improper arrowhead rendering, made markdown background transparent
|
2023-01-16 22:19:19 +01:00 |
|
Vojtěch Fošnár
|
cfdf59b6b6
|
arrowheads respect background color in sketch mode
|
2023-01-16 15:15:01 +01:00 |
|
Vojtěch Fošnár
|
49291e2734
|
fix animations
|
2023-01-16 12:15:59 +01:00 |
|
Vojtěch Fošnár
|
66dc978418
|
resolved merge conflict
|
2023-01-15 21:36:43 +01:00 |
|
Paracelsus-Rose
|
3b90f3502d
|
Numbers copied from TS but not working
|
2023-01-15 14:55:12 -05:00 |
|
Paracelsus-Rose
|
5cfc71f271
|
Tried making values equal to TS project.
|
2023-01-15 01:36:58 -05:00 |
|
Gavin Nishizawa
|
005ceec44f
|
refactor source/target adjustment and pass to sketch arrowheads
|
2023-01-13 18:13:28 -08:00 |
|
Gavin Nishizawa
|
224af99efd
|
add sketch versions of arrowheads
|
2023-01-13 18:13:28 -08:00 |
|
Gavin Nishizawa
|
af2a032a9e
|
render sketch arrowheads separately
|
2023-01-13 18:13:28 -08:00 |
|
Alexander Wang
|
b9c4678302
|
tooltip
|
2023-01-13 08:16:18 -08: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 |
|
Alexander Wang
|
60523f0446
|
works
|
2023-01-12 11:06:36 -08:00 |
|
Alexander Wang
|
9c1e7eeb73
|
test
|
2023-01-12 10:51:26 -08:00 |
|
Vojtěch Fošnár
|
19c53d5185
|
added missing colors conversion
|
2023-01-12 11:19:34 +01:00 |
|
Vojtěch Fošnár
|
2f9aad07f4
|
Merge branch 'terrastruct:master' into master
|
2023-01-12 08:51:41 +00:00 |
|
Alexander Wang
|
6c852cf792
|
fallback lexer if none found
|
2023-01-11 23:53:02 -08:00 |
|
Vojtěch Fošnár
|
63a0c1e2b1
|
vary sketch overlay color depending on the background and small refactoring
|
2023-01-11 22:18:14 +01:00 |
|
Paracelsus-Rose
|
75c0dee349
|
Circles Rendering closer to border. Still not perfect.
|
2023-01-10 19:16:02 -05:00 |
|
Paracelsus-Rose
|
f21226bfa7
|
Removed Offset and refactored
|
2023-01-10 15:30:20 -05:00 |
|
Paracelsus-Rose
|
fc15982b93
|
Requested Changes
|
2023-01-10 12:48:54 -05:00 |
|
Paracelsus-Rose
|
d46ce55c2f
|
Update d2svg.go
|
2023-01-10 12:08:26 -05:00 |
|
Vojtěch Fošnár
|
3160f88e5c
|
removed useless TODOs
|
2023-01-10 11:34:42 +01:00 |
|
Paracelsus-Rose
|
2c59b1c163
|
Formatting
|
2023-01-09 23:48:26 -05:00 |
|
Paracelsus-Rose
|
b0d3b9d3fd
|
Init
|
2023-01-09 22:44:45 -05:00 |
|
Vojtěch Fošnár
|
41fd673eeb
|
added theming support to LaTeX and markdown
|
2023-01-10 00:17:56 +01:00 |
|
Vojtěch Fošnár
|
84e8c25e37
|
implemented (limited) darkening of theme colors and fixed rendering of the 3D box
|
2023-01-09 22:50:17 +01:00 |
|
Vojtěch Fošnár
|
a972b5b0ee
|
removed --sketch_bg and added --dark_theme option
|
2023-01-09 22:16:22 +01:00 |
|
Vojtěch Fošnár
|
a81ab2d73e
|
support for prefers-color-scheme
|
2023-01-09 19:16:28 +01:00 |
|
Vojtěch Fošnár
|
0919cc160e
|
make Latex use N1 (Text) color
|
2023-01-07 11:27:00 +01:00 |
|
Vojtěch Fošnár
|
8f903d72e1
|
add --sketch_bg option
|
2023-01-07 10:46:37 +01:00 |
|
Vojtěch Fošnár
|
34d15da5ba
|
make bgColor and fgColor variables instead of hardcoded values for generated SVGs
|
2023-01-06 19:32:56 +01:00 |
|
Bernard Xie
|
510e7be593
|
Add comment
|
2023-01-03 15:32:31 -08:00 |
|
Bernard Xie
|
dfd66232fc
|
add d2-svg id on generation
|
2023-01-03 15:01:21 -08:00 |
|
Bernard Xie
|
643aa13de9
|
add fit to screen to exported svg
|
2023-01-03 11:27:15 -08:00 |
|
harryjrk
|
e3047b6aba
|
fix curved connections issues
|
2023-01-01 11:35:21 +01:00 |
|
harryjrk
|
2bff170c6f
|
rename crow foot to shorter name, add tests
|
2022-12-31 19:03:40 +01:00 |
|
harryjrk
|
847b712101
|
add next.MD message, replace falltrough with comma
|
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 |
|
Alexander Wang
|
d52b3b4db5
|
add xlink href for older browsers
|
2022-12-28 16:41:15 -08:00 |
|
Alexander Wang
|
d50449cf63
|
works
|
2022-12-28 16:19:30 -08:00 |
|
Alexander Wang
|
e7aa4f8d19
|
fix tooltip shadow
|
2022-12-28 15:15:38 -08:00 |
|
Alexander Wang
|
36ef848a82
|
len -> radius
|
2022-12-28 14:58:27 -08:00 |
|
Alexander Wang
|
6af5a9728f
|
save
|
2022-12-28 12:07:01 -08:00 |
|
Alexander Wang
|
3aebfaf1d2
|
save
|
2022-12-27 20:29:51 -08:00 |
|
Alexander Wang
|
51d51709b0
|
svg works
|
2022-12-27 00:20:49 -08:00 |
|
Alexander Wang
|
e4a7bb5215
|
save
|
2022-12-26 23:56:23 -08:00 |
|
Alexander Wang
|
4cc7dde896
|
text font sizes and bold, italic, underline
|
2022-12-25 21:49:26 -08:00 |
|
Alexander Wang
|
64d7d5f1b6
|
apply themes to tables and classes
|
2022-12-24 15:56:22 -08:00 |
|
Alexander Wang
|
96374da51e
|
fix icon query param escaping
|
2022-12-24 12:45:12 -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
|
b21318ca5b
|
Merge branch 'master' into sketch
|
2022-12-21 21:04:30 -08:00 |
|
Alexander Wang
|
07fb1a3d86
|
implement sketch
|
2022-12-21 20:55:27 -08:00 |
|
Gavin Nishizawa
|
2452e4b658
|
remove unused code
|
2022-12-21 12:55:49 -08:00 |
|
Gavin Nishizawa
|
1434306948
|
fix connection mask clipping along top and left edges of graph
|
2022-12-21 12:54:02 -08:00 |
|
Gavin Nishizawa
|
1a3511d632
|
apply stroke and fill to markdown
|
2022-12-17 21:32:59 -08:00 |
|
Gavin Nishizawa
|
8e4096b83c
|
typo
|
2022-12-16 17:15:58 -08:00 |
|
Gavin Nishizawa
|
f166077e7b
|
always define the referenced mask
|
2022-12-16 17:15:37 -08:00 |
|
Gavin Nishizawa
|
412713e2b7
|
render connection label background according to style.fill
|
2022-12-16 15:46:14 -08:00 |
|
Alexander Wang
|
8feb4d4749
|
add pad option
|
2022-12-11 23:39:21 -08:00 |
|
Alexander Wang
|
59815cc218
|
add comment
|
2022-12-05 22:33:35 -08:00 |
|
Alexander Wang
|
06ea7c191a
|
unique label mask
|
2022-12-05 22:32:23 -08:00 |
|
Júlio César Batista
|
662aef4660
|
Fix nit
|
2022-12-05 19:50:42 -08:00 |
|
Júlio César Batista
|
6272fec709
|
Use Blend instead MaskLabel
|
2022-12-05 15:53:43 -08:00 |
|
Júlio César Batista
|
27996f348a
|
Merge branch 'master' into mask-group-label
|
2022-12-05 15:20:23 -08:00 |
|
Alexander Wang
|
1b99604359
|
fix nested sequence diagram shape
|
2022-12-05 13:53:09 -08:00 |
|
Júlio César Batista
|
358a53d815
|
Mask only labels in sequence diagram groups
|
2022-12-05 13:32:33 -08:00 |
|
Júlio César Batista
|
73f08a24a0
|
Merge branch 'master' into mask-group-label
|
2022-12-05 13:22:46 -08:00 |
|
Júlio César Batista
|
6ad1ae0f24
|
Remove inner label padding for masks
|
2022-12-05 12:48:03 -08:00 |
|
Júlio César Batista
|
845351793b
|
Mask container labels
|
2022-12-05 11:57:16 -08:00 |
|
Alexander Wang
|
5deb9b2d7d
|
blend groups
|
2022-12-05 11:22:16 -08:00 |
|
Alexander Wang
|
3b94fabb0b
|
add label masks over all connections
|
2022-12-03 16:36:11 -08:00 |
|
Anmol Sethi
|
a05ba67a36
|
go2: rm -rf
|
2022-12-01 10:49:15 -08:00 |
|
Anmol Sethi
|
c4ef432daf
|
Move textmeasure into lib
It's not a d2renderer.
|
2022-12-01 06:51:17 -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 |
|
Gavin Nishizawa
|
1847c76b08
|
cleanup border path trailing space
|
2022-11-29 16:42:37 -08:00 |
|
Gavin Nishizawa
|
ffab97e778
|
render 3d border all in one path to avoid (transparent) overlapping segments
|
2022-11-28 14:23:26 -08:00 |
|
Alexander Wang
|
72dcdf9cc4
|
2022-11-27 01:54:41PM
|
2022-11-27 13:54:41 -08:00 |
|