Commit Graph
121 Commits
Author SHA1 Message Date
Ivan Akulov b0ca5a5bc9 Set nodeDragThreshold to 1
This removes an expensive `dragging: false` update on mouseup (with `dragging: true` never even dispatched)
2023-11-25 00:20:29 +01:00
moklick d812dbbe53 refactor(nodes): add computed attr for width/height and absolute position 2023-11-21 15:06:42 +01:00
moklick e798e94275 refactor(react/svelte): use nodeLookup 2023-11-14 15:52:48 +01:00
moklick a147a20f6e refactor(react/svelte): use node lookup for perf improvement 2023-11-13 16:43:57 +01:00
moklick d4df8be6f2 chore(svelte): bump 2023-11-13 11:33:05 +01:00
moklick 90912a6c1a reafactor(react/svelte): rename some util functions #3528 2023-11-13 10:45:06 +01:00
moklick 3484d57990 Merge branch 'next' into feat/multiple-on-selection-change 2023-11-09 16:36:57 +01:00
spky bbd5973d66 feat(react): Support Mutiple useOnSelectionChange Hook subscribers 2023-11-03 00:48:46 +01:00
moklick 6de9bbc916 refactor(react/svelte): simplify ssr usage 2023-10-23 16:37:28 +02:00
moklick 52a47a7a26 refactor(react): pass fitView for ssr 2023-10-23 16:01:22 +02:00
moklick ed5606d870 refactor(react): use size instead of dimensions, cleanup defaul node handling 2023-10-10 13:24:02 +02:00
moklick 1acc59e44c feat(react): ssr 2023-10-05 17:28:05 +02:00
moklick 86c041c2a0 feat(react): add basic ssr support 2023-10-04 16:03:23 +02:00
moklick 348f311fc7 feat(react,svelte): add nodeDragThreshold 2023-09-26 13:08:27 +02:00
Peter 439916e619 fix(react) fitViewOptions.nodes are now working as intended 2023-09-25 13:46:22 +02:00
Peter ada5b94673 feat(svelte) add fitViewOptions, closes #3440 2023-09-25 12:58:04 +02:00
moklick e8c361ac9d chore(zustand): use latest API 2023-08-14 16:42:11 +02:00
Moritz KlackandGitHub 65d1c3bbd4 Refactor/vanilla store utils (#3138)
* feat(stores): use vanilla store utils

* fix(store-utils): keep dimensions if possible

* feat(utils): add nodeDimension and panBy utils

* fix(svelte): use correct updateDim func

* refactor(react): cleanup store

* chore(tests): use new imports
2023-06-13 15:55:06 +02:00
moklick a41ec8f1bc chore(react): cleanup 2023-06-12 17:21:02 +02:00
moklick c6501aff62 refactor(react): use array for nodeInternals, rename to nodes 2023-06-12 16:56:02 +02:00
moklick 8354759f57 refactor(packages): change package structure 2023-06-05 15:40:18 +02:00