Commit Graph

856 Commits

Author SHA1 Message Date
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
Moritz Klack
71e90ca0f4 Merge pull request #5443 from xyflow/fix/windows-scroll
chore(minimap): fix zooming on windows
2025-08-12 12:49:12 +02:00
moklick
9fa0779664 chore(minimap): use 1 as a default for zoom step 2025-08-12 12:44:49 +02:00
Paula Stachova
c502f27f86 Export MiniMapNode 2025-08-11 15:10:09 +02:00
Alessandro
d060c3fa87 Adjust SvelteFlow and allow for null to use CSS variable 2025-08-11 13:59:38 +02:00
Alessandro
4c389117b7 allow null and correct behavior 2025-08-11 13:02:16 +02:00
Alessandro
d8808e09e6 Merge remote-tracking branch 'origin/main' into arrow-heads-fallback-color 2025-08-11 12:29:28 +02:00
moklick
195b4b4f76 chore(types): cleanup #5420 2025-08-07 07:32:22 +02:00
Moritz Klack
552ff4da4e Merge pull request #5436 from xyflow/fix/edge-interaction-width
Fix/edge interaction width
2025-08-07 07:28:06 +02:00
moklick
71dde07e93 fix(edges): don not add 0 to dom if interaction width is 0 #5426 2025-08-07 07:19:53 +02:00