Commit graph

634 commits

Author SHA1 Message Date
Fahmi Akbar Wildana
3954431234
only auto adjust the height, remove AutoSize()
seems like the layout engine always came up with the optimal width
2025-02-23 12:21:55 +07:00
Fahmi Akbar Wildana
4eb3c2d258
revise AutoSize() 2025-02-23 10:37:49 +07:00
Fahmi Akbar Wildana
d94491dc22
add AutoSize() too determine optimal width and height 2025-02-23 07:00:40 +07:00
Fahmi Akbar Wildana
24a413a737
retain text/label 2025-02-18 12:22:19 +07:00
Fahmi Akbar Wildana
3c92ce1679
don't maintain aspect ration 2025-02-17 07:19:44 +07:00
Fahmi Akbar Wildana
2b109ab105
downscale the result if it get to big 2025-02-16 18:13:12 +07:00
Fahmi Akbar Wildana
40f8a88f15
remove margin 2025-02-16 18:10:31 +07:00
Fahmi Akbar Wildana
50bd016e40
initial implementation 2025-02-14 10:48:37 +07:00
Alexander Wang
5b2f2ebe89
ta 2025-02-04 10:28:20 -07:00
Alexander Wang
20d4165428
fix multiple class attributes with animate 2025-02-04 10:23:26 -07:00
Alexander Wang
14f5876847
0.6.9 2025-02-04 07:43:13 -07:00
Alexander Wang
fe122d7103
Merge pull request #2330 from itsfuad/deprecated-package-update
refactor: replace ioutil with os and io packages for file operations
2025-02-04 06:37:02 -08:00
Fuad Hasan
710cfe520b
refactor: replace ioutil with os and io packages for file operations 2025-02-04 20:24:55 +06:00
Alexander Wang
a6da9bc1f7
ta 2025-02-04 06:28:14 -07:00
Alexander Wang
a12ad500ce
consider stroke width 2025-02-04 06:25:28 -07:00
Alexander Wang
8f70000242
Merge branch 'master' into box-arrowheads 2025-02-03 18:41:25 -07:00
Alexander Wang
308df8065a
ta 2025-02-03 17:35:30 -07:00
Alexander Wang
bf2754edfc
d2latex: fix latex backslashes doubling 2025-02-03 17:33:17 -07:00
Alexander Wang
d6ac9f8f00
d2svg: parse connection label fill gradients 2025-02-03 16:40:08 -07:00
Alexander Wang
f711a76ade
add diagram hash salt 2025-01-30 14:48:41 -07:00
Alexander Wang
edc6da344f
ta 2025-01-29 16:33:58 -07:00
Alexander Wang
598022a44f
ta all 2025-01-28 17:43:48 -07:00
Alexander Wang
3efb51c5b2
ta sketch tests 2025-01-28 17:43:43 -07:00
Alexander Wang
f9906037de
unique sketch streak pattern ids 2025-01-28 17:40:13 -07:00
Alexander Wang
0514e3f849
ta 2025-01-28 17:25:51 -07:00
Alexander Wang
a8101dd02f
unique fill-pattern texture ids 2025-01-28 17:23:40 -07:00
Alexander Wang
2b647016b2
unique link svg clipPath id 2025-01-28 10:21:42 -07:00
Alexander Wang
050107a67b
unique tooltip svg clipPath id 2025-01-28 09:52:24 -07:00
Alexander Wang
cf10aa1da3
latex: do not cache font chars 2025-01-27 14:43:13 -07:00
Alexander Wang
033d3d8d49
ta 2025-01-26 18:39:07 -07:00
Alexander Wang
51cd1fb10f
fix 2025-01-26 18:28:28 -07:00
Alexander Wang
21c724c58d
change d2-svg to class 2025-01-26 14:31:29 -07:00
Alexander Wang
9aea07e22c
ta 2025-01-26 14:21:28 -07:00
Alexander Wang
0281f726d0
unique marker id 2025-01-26 14:18:00 -07:00
Alexander Wang
3c22c46815
ta 2025-01-26 14:13:00 -07:00
Alexander Wang
654562fc61
unique mask id 2025-01-26 14:11:53 -07:00
Alexander Wang
a539dae402
ta 2025-01-26 14:04:20 -07:00
Alexander Wang
1c51657598
base64 encode d2 id, change from id to class name 2025-01-26 13:55:51 -07:00
Alexander Wang
9bc1b6ef20
ta 2025-01-26 12:07:48 -07:00
Alexander Wang
d0294d4d4f
data-d2-version 2025-01-26 12:02:12 -07:00
Alexander Wang
83b96c2734
d2cli: no-xml-tag 2025-01-23 22:27:34 -07:00
Alexander Wang
cbb691abe1
fmt 2025-01-15 18:33:37 -07:00
Alexander Wang
397f505a10
migrate latex 2025-01-15 18:16:19 -07:00
Alexander Wang
9c19637fff
migrate sketch 2025-01-15 16:30:39 -07:00
Alexander Wang
3dee7bbdaf
compile and render functions 2024-12-29 21:24:10 -07:00
Alexander Wang
a541c14e0e
init 2024-12-29 09:50:15 -07:00
Alexander Wang
5a6e80aefb
ta 2024-12-28 20:38:12 -07:00
Adam
d61287dec5
Add box arrowheads 2024-12-18 17:40:01 +00:00
Alexander Wang
e6cedef763
ta 2024-12-14 19:54:49 -07:00
Alexander Wang
74f708a2ea
allow animated: true for shape 2024-12-14 19:35:18 -07:00