Commit Graph

4489 Commits

Author SHA1 Message Date
moklick
ccadb043c3 refactor(system): mutate internal node instead of creating a new one 2024-05-08 22:20:13 +02:00
Moritz Klack
adff7ef9dd Merge pull request #4261 from xyflow/react/styles-loaded-warning
React/styles loaded warning
2024-05-07 18:35:31 +02:00
moklick
a364a93082 feat(react): add warning when styles not loaded #4047 2024-05-07 18:25:04 +02:00
moklick
32bac3e133 chore(react): cleanup examples 2024-05-07 18:24:17 +02:00
moklick
2b0d75ddaa refactor(types): only export HandleProps but not HandleComponentProps 2024-05-07 16:22:26 +02:00
moklick
5093213116 chore(react): udpate return type of fixedForwardRef function 2024-05-07 14:47:47 +02:00
moklick
b9ec783b6b fix(react): dont show nodeTypes warning if not necessary #3923 2024-05-07 13:19:54 +02:00
moklick
fb30b81cb4 fix(svelte): node toolbar for subflows 2024-05-06 15:50:41 +02:00
moklick
9cf09651a6 fix(svelte): export InternalNode type 2024-05-06 14:00:33 +02:00
moklick
181a94d125 fix(svelte): export useInternalNode hook 2024-05-06 12:32:00 +02:00
moklick
1860dff666 fix(minimap): sub flow node positions 2024-05-06 11:47:57 +02:00
moklick
de86c64128 fix(svelte): selection for sub flows 2024-05-06 11:47:45 +02:00
moklick
d562818f4c fix(styles): add node-resizer to base style 2024-05-06 11:20:10 +02:00
moklick
5f3dbbbade chore(versions): bump 2024-05-02 18:05:38 +02:00
moklick
ad3a803abb fix(react): dont allow invalid selection rect 2024-05-02 18:02:38 +02:00
moklick
ec2592966e chore(changelogs): update 2024-05-02 17:49:15 +02:00
moklick
c0de3ad941 chore(libs): export Align type 2024-05-02 17:49:06 +02:00
moklick
ce9ce1db0b fix(system): return user nodes in node drag/click handlers 2024-05-02 17:40:48 +02:00
Moritz Klack
51ab674115 Merge pull request #4238 from xyflow/svelte4next
Svelte Flow 0.1.0
2024-05-02 17:30:25 +02:00
moklick
e1ef45666a test(svelte): nodeDragThreshold=0 for node tests 2024-05-02 17:29:53 +02:00
moklick
9984dd39a2 refactor(svelte): add quotes to edge marker urls 2024-05-02 17:29:31 +02:00
moklick
534db656b4 feat(svelte): add getInternalNode and useInternalNode 2024-05-02 16:39:57 +02:00
moklick
f2f2c3cc2e feat(svelte): add fitViewOptions for Controls closes #4201 2024-05-02 15:36:42 +02:00
moklick
3b940ac5ae fix(svelte): use correct updateNodeInternals API 2024-05-02 15:01:37 +02:00
moklick
00cbf2246c fix(svelte): only update node dimension attributes when necessary 2024-05-02 15:01:14 +02:00
moklick
d4bfea9b27 chore(svelte): cleanup examples 2024-05-02 15:00:39 +02:00
Moritz Klack
bd95cc1b59 Merge pull request #4144 from xyflow/svelte-handle-valid-connection
Svelte: isValidConnection on <Handle />
2024-05-02 11:26:38 +02:00
Moritz Klack
2534a26c22 Merge pull request #4224 from darabos/patch-2
[SvelteFlow] Make handleId and isTarget reactive
2024-05-02 11:25:49 +02:00
Moritz Klack
96efa4e3a1 Merge pull request #4180 from darabos/patch-1
Do not reset nodes and edges — they are controlled by the user
2024-05-02 11:25:31 +02:00
Moritz Klack
47da7a143f Merge pull request #4195 from RedPhoenixQ/node-event-types
Svelte: Fix Node event types
2024-05-02 11:25:03 +02:00
moklick
170ef688a8 chore(react): changelog 2024-04-30 17:52:06 +02:00
Moritz Klack
b67ff60d5c Merge pull request #4226 from DenizUgur/update-node-internals-typing
fix typing for `UpdateNodeInternals`
2024-04-30 17:48:35 +02:00
Moritz Klack
8f3b56e9c6 Merge pull request #4229 from xyflow/fix/react-pan-win-touch
Fix/react pan win touch
2024-04-30 17:47:30 +02:00
moklick
d1b50707ff fix(system): pinch zoom on windows #3759 2024-04-30 16:42:33 +02:00
moklick
a9dfd45b4f fix(system): dont break touch pan with panOnDrag is an array 2024-04-30 16:41:13 +02:00
DenizUgur
eec2a6923d fix typing for UpdateNodeInternals 2024-04-29 12:43:10 -07:00
Daniel Darabos
eb229d820b Make handleId and isTarget reactive. 2024-04-29 19:43:35 +02:00
Moritz Klack
5c57be6f54 Merge pull request #4221 from xyflow/refactor/use-react-flow
refactor(react): cleanup useReactFlow
2024-04-29 17:31:47 +02:00
moklick
962db7082f Merge branch 'next' into refactor/use-react-flow 2024-04-29 17:30:58 +02:00
Moritz Klack
73913f0509 Merge pull request #4220 from xyflow/fix/react-export-keycode
fix(react): export KeyCode type from system
2024-04-29 17:28:39 +02:00
Moritz Klack
d23f593cd2 Merge pull request #4219 from xyflow/fix/defaultnode-updates
fix(react): default node updates closes #4202
2024-04-29 17:28:28 +02:00
moklick
860128fd15 refactor(react): cleanup useReactFlow 2024-04-29 17:16:12 +02:00
moklick
930fe79fbf fix(react): export KeyCode type from system 2024-04-29 14:14:19 +02:00
moklick
7501eace79 fix(react): default node updates closes #4202 2024-04-29 13:35:58 +02:00
Moritz Klack
c318288703 Merge pull request #4212 from xyflow/next
React Flow 12.0.0-next.16
2024-04-25 17:06:06 +02:00
moklick
8c784c2035 chore(react): bump 2024-04-25 17:05:51 +02:00
moklick
972da582e9 fix(react): useNodesInitialized true when nodes measured closes #4202 2024-04-25 17:02:57 +02:00
Moritz Klack
d3765838fc Merge pull request #4209 from xyflow/fix/batching-provider
fix(react): handle setNodes batching in provider
2024-04-25 16:48:02 +02:00
moklick
0b684a7fe9 chore(changelog): update 2024-04-25 16:47:49 +02:00
moklick
3a23a594cf chore(BatchProvider): cleanup 2024-04-25 16:41:09 +02:00