Commit Graph

865 Commits

Author SHA1 Message Date
github-actions[bot]
1522b2451d chore(packages): bump 2025-10-28 15:16:21 +00:00
peterkogo
2baa839138 simplify conditions 2025-10-28 14:00:05 +01:00
peterkogo
eb7a27251a rename hasActiveSelection to isSelectionEnabled 2025-10-28 13:21:59 +01:00
peterkogo
7238977e7a make sure elements are deselected once the selection starts 2025-10-28 12:35:41 +01:00
peterkogo
f29adb8353 only prevent pointer events when starting selection box on top of node 2025-10-28 12:20:47 +01:00
peterkogo
5d0887c9db cleanup paneClickDistance remnants 2025-10-28 11:46:33 +01:00
peterkogo
2fb4933506 make sure onSelectionEnd is always fired 2025-10-28 11:42:51 +01:00
moklick
e743054b7e chore(pane): cleanup 2025-10-28 09:29:00 +01:00
peterkogo
1f43ccc3ab fix onSelectionEnd behavior 2025-10-27 15:53:06 +01:00
peterkogo
fa7bf16ce3 allow paneClick events to happen more leniantly 2025-10-27 15:35:03 +01:00
peterkogo
f8c547d92f remove setPaneClickDistance from store and update it declaritively 2025-10-27 12:06:53 +01:00
Moritz Klack
cebaa5bc0d Merge branch 'main' into chore/tsdocs-adjustments 2025-10-21 14:48:00 +02:00
moklick
e6b0d12f6f chore(edge-toolbar): cleanup 2025-10-21 12:16:54 +02:00
moklick
65a8730c2a chore(tsdocs): adjustments 2025-10-20 15:18:54 +02:00
github-actions[bot]
88ae5043ec chore(packages): bump 2025-10-20 11:18:25 +00:00
Moritz Klack
1afd83717a Merge pull request #5544 from xyflow/edge-toolbar
Add EdgeToolbar Component
2025-10-20 13:02:57 +02:00
moklick
391d6f04ea chore(edge-toolbar): cleanup 2025-10-20 12:50:41 +02:00
moklick
cb22c4541b chore(edge-toolbar): cleanup 2025-10-20 12:48:09 +02:00
moklick
ac423f3880 chore(selection): handle selectionOnDrag in click capture 2025-10-16 15:50:48 +02:00
moklick
cefd92664d chore(selection): handle selectionOnDrag 2025-10-16 11:33:58 +02:00
moklick
a16fc575c8 chore(pane): cleanup 2025-10-16 10:33:47 +02:00
moklick
072d10da85 chore(pane): cleanup 2025-10-15 16:28:01 +02:00
peterkogo
3993b00782 simplify logic 2025-10-15 16:19:08 +02:00
moklick
75aff8ef26 refactor(selection): make it possible to start a selection above a node #5342 2025-10-15 15:15:07 +02:00
Alessandro Cheli
883667c132 Update packages/react/src/additional-components/EdgeToolbar/EdgeToolbar.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-13 16:17:03 +02:00
Alessandro Cheli
869e5a32d5 Update packages/react/src/additional-components/EdgeToolbar/EdgeToolbar.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-13 16:16:51 +02:00
Alessandro Cheli
a94bdc1cd0 Update packages/react/src/additional-components/EdgeToolbar/EdgeToolbar.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-13 16:16:40 +02:00
Alessandro
3204173b2c add svelte version 2025-10-13 16:10:47 +02:00
Alessandro
bb9fe4f830 Correct positioning 2025-10-13 13:26:04 +02:00
Alessandro
482b618f49 initial implementation of edge toolbar 2025-10-09 16:00:06 +02:00
Ze-Zheng Wu
fe2a45ed2a fix(edges): add type property to EdgeProps 2025-10-01 18:21:14 +08:00
peterkogo
0c1ad4c861 Memoize NodeWrapper and EdgeWrapper 2025-10-01 11:33:34 +02:00
github-actions[bot]
78ce574ebe chore(packages): bump 2025-09-19 13:56:44 +00:00
github-actions[bot]
dee8ab53e6 chore(packages): bump 2025-09-17 09:26:11 +00:00
moklick
1d3a1b573e chore(react): add TSDoc default for elevateEdgesOnSelect 2025-09-17 11:24:40 +02:00
peterkogo
d329702df9 skip force rendering nodes that have handles defined 2025-09-08 16:48:02 +02:00
Peter Kogo
4783957dbf Merge pull request #5455 from Sec-ant/fix/check-visibility
fix: skip resize handler updates when DOM node is not visible
2025-09-02 11:52:31 +02:00
Moritz Klack
cf4a3692c8 Merge pull request #5480 from xyflow/fix-connection-pinch
Fix connection pinch
2025-08-26 18:35:58 +02:00
peterkogo
1c218d27f1 make getIntersectingNodes and isNodeIntersecting behave the same 2025-08-26 13:06:15 +02:00
peterkogo
d7a3172a60 prevent pinch zooming while making a new conection 2025-08-25 19:12:33 +02:00
github-actions[bot]
64a4fc30e8 chore(packages): bump 2025-08-20 13:05:25 +00:00
moklick
761a8a0876 chore(types): remove dangerouslySetInnerHTML from domAttributes #5470 2025-08-20 15:02:29 +02:00
Alessandro
b4a8936009 restore attribute 2025-08-18 15:34:09 +02:00
Alessandro
f2bbdba33a Fix open arrow marker using fill color from edge instead of none 2025-08-18 12:44:49 +02:00
Ze-Zheng Wu
d2df1dced7 fix: skip resize handler updates when DOM node is not visible
Prevent unnecessary resize calculations and error messages for invisible elements by checking visibility before processing dimensions
2025-08-17 02:30:16 +08:00
github-actions[bot]
e8e7d11179 chore(packages): bump 2025-08-13 18:59:24 +00:00
moklick
4e588b2c23 fix(handle-on-connect): use correct HandleConnection type #5447 2025-08-12 14:36:06 +02:00
Moritz Klack
91e5e302d5 Merge pull request #5428 from Karl255/#5273-handle-click-target-fix
Allow detached handles
2025-08-12 14:18:20 +02:00
Moritz Klack
172c2db251 Merge pull request #5444 from paula-stacho/export-minimapnode
Export MiniMapNode
2025-08-12 13:52:38 +02:00
moklick
295884fea9 chore(handle): cleanup 2025-08-12 13:16:56 +02:00