mirror of
https://github.com/ZetaKebab/quartz.git
synced 2025-06-22 00:34:37 +00:00
perf(graph): canvas implementation (#1328)
* perf(graph): initial canvas layout include nodes and links drawn Signed-off-by: Aaron Pham <contact@aarnphm.xyz> * fix(graph): update persistent for nodeGfx Signed-off-by: Aaron Pham <contact@aarnphm.xyz> * chore(graph): add canvas element to avoid rerendering glitch Signed-off-by: Aaron Pham <contact@aarnphm.xyz> * fix(spa): only render graph once in global Signed-off-by: Aaron Pham <contact@aarnphm.xyz> * fix(graph): change svg as button render global graph on toggle Signed-off-by: Aaron Pham <contact@aarnphm.xyz> * fix(graph): fix anchor position and zIndex behaviour Signed-off-by: Aaron Pham <contact@aarnphm.xyz> * chore(graph): increase linkDistance Signed-off-by: Aaron Pham <contact@aarnphm.xyz> * refactor * fmt * pkg --------- Signed-off-by: Aaron Pham <contact@aarnphm.xyz> Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
"name": "@jackyzha0/quartz",
|
||||
"description": "🌱 publish your digital garden and notes as a website",
|
||||
"private": true,
|
||||
"version": "4.3.0",
|
||||
"version": "4.3.1",
|
||||
"type": "module",
|
||||
"author": "jackyzha0 <j.zhao2k19@gmail.com>",
|
||||
"license": "MIT",
|
||||
@ -38,6 +38,7 @@
|
||||
"@clack/prompts": "^0.7.0",
|
||||
"@floating-ui/dom": "^1.6.10",
|
||||
"@napi-rs/simple-git": "0.1.17",
|
||||
"@tweenjs/tween.js": "^25.0.0",
|
||||
"async-mutex": "^0.5.0",
|
||||
"chalk": "^5.3.0",
|
||||
"chokidar": "^3.6.0",
|
||||
@ -58,6 +59,7 @@
|
||||
"mdast-util-to-hast": "^13.2.0",
|
||||
"mdast-util-to-string": "^4.0.0",
|
||||
"micromorph": "^0.4.5",
|
||||
"pixi.js": "^8.3.3",
|
||||
"preact": "^10.23.2",
|
||||
"preact-render-to-string": "^6.5.9",
|
||||
"pretty-bytes": "^6.1.1",
|
||||
|
Reference in New Issue
Block a user