Commit Graph
183 Commits
Author SHA1 Message Date
moklick 27df80b6a6 fix(selection-listener): pass generics 2025-02-24 08:58:24 +01:00
moklick 43f188d3b1 fix(click-connections): handle isConnectableStart correctly #5041 2025-02-21 17:52:08 +01:00
Moritz KlackandGitHub 68591a8bf1 Merge branch 'main' into no-deprecated 2025-02-21 16:39:41 +01:00
Dimitri POSTOLOV 7b4a81fb6b lint: use React.JSX type instead of the deprecated global JSX namespace 2025-02-20 16:11:00 +07:00
Dimitri POSTOLOV 5867bba805 lint: remove unnecessary type assertion 2025-02-20 16:03:44 +07:00
Moritz KlackandGitHub ad047fa023 Merge pull request #5010 from xyflow/tsdocs-update
TSDoc update
2025-02-12 16:49:36 +01:00
moklick 0b06491ef9 chore(tsdocs): cleanup 2025-02-12 14:42:12 +01:00
Moritz KlackandGitHub d506b108ad Merge pull request #5013 from xyflow/fix-connection-component-type
Fix connection component type
2025-02-12 14:22:12 +01:00
moklick 1344ccad39 chore(connection-line): pass generic 2025-02-12 14:18:14 +01:00
moklick 381ed2a5bf chore(types): add tsdocs 2025-02-11 17:57:21 +01:00
moklick 0848bc9367 chore(components): add tsdocs for rf and provider 2025-02-11 15:31:19 +01:00
moklick fb63462be3 chore(utils): tsdoc update 2025-02-11 15:18:41 +01:00
moklick 6c937546e4 chore(comps): tsdoc update 2025-02-11 14:19:33 +01:00
moklick d8ab3bf0bd chore(hooks): tsdoc update 2025-02-11 13:59:17 +01:00
Dimitri POSTOLOV b9c07dc211 fix lint command, bump eslint packages 2025-02-09 05:43:15 +07:00
peterkogo 98b212f0d5 Narrow NodeProps type properties selected, selectable, draggable and deletable required 2025-01-20 11:20:33 +01:00
Solomon Astley cde899c5be pass through NodeType to connectionLineComponent ReactFlow prop 2024-12-15 11:45:04 -08:00
CRIMX b7b5032c02 fix(system): safe check all event target 2024-12-10 12:56:30 +08:00
Moritz KlackandGitHub ce8c2cf7a6 Merge pull request #4855 from mhuggins/html-element-props
feat: accept any `path` element attribute as a prop
2024-12-04 12:47:29 +01:00
moklick 7a8e53463e chore(react): cleanup base edge 2024-12-04 12:17:35 +01:00
peterkogo 3526963f0b Revert back to passing props manually 2024-12-04 11:12:49 +01:00
Moritz KlackandGitHub 3f8fae41df Merge pull request #4826 from xyflow/fix/panel-ref
fix(panel): forward ref to inner panel div
2024-12-04 10:45:01 +01:00
peterkogo ca66999634 simplified prop drilling & improved changeset 2024-12-02 13:37:17 +01:00
braks 9458904cbb fix(react): prevent default scrolling behavior when node is moved with keypress 2024-12-02 12:29:43 +01:00
Matt Huggins 23b3fb64c5 feat: accept any path element attribute as a prop 2024-11-28 17:18:01 -06:00
Christopher Möller 02532fcdc5 fix(panel): forward ref to inner panel div 2024-11-18 14:59:11 +01:00
Akihiro Kiuchi 75590af981 fix deadlock in useQueue 2024-11-08 18:52:57 +09:00
Moritz KlackandGitHub cd0f1b58c3 Merge pull request #4572 from xyflow/fix-extent
fix node extent
2024-09-05 16:39:23 +02:00
peterkogo 30e83b7dd1 fixed reconnect with connectionMode=loose 2024-08-26 14:31:39 +02:00
peterkogo e5fac45371 fixed node extent flashing 2024-08-22 16:07:37 +02:00
peterkogo ea8b9e0050 clamp position on adoptUserNode 2024-08-22 11:00:16 +02:00
peterkogo 04774e5011 added nodeExtent to Svelte Flow and React Flow Provider 2024-08-22 10:34:52 +02:00
peterkogo 4a30f3a0fd fixed node extent calculation and simplified calculateNodePosition 2024-08-20 12:42:57 +02:00
peterkogo d9563505d8 fix node extent 2024-08-19 17:44:36 +02:00
peterkogo 8590f9dfea added final connection state to onReconnectEnd 2024-08-15 12:52:40 +02:00
Moritz KlackandGitHub 36f4511a6f Merge branch 'main' into handle-lookup 2024-08-14 12:28:44 +02:00
moklick aae62e9ec6 feat(onConnectEnd): pass connectionState 2024-08-14 11:17:34 +02:00
peterkogo c3e7d61cb4 replaced handle lookup with ad-hoc way of searching for closest handles 2024-08-13 17:30:35 +02:00
dongqiang.02 c58aad935b chore: fix typo 2024-07-24 16:18:04 +08:00
moklick da35b9d7fb feat(props): add nodeClickDistance 2024-07-15 15:28:27 +02:00
moklick 69bd68f4b8 feat(panzoom): add paneClickDistance prop 2024-07-09 10:50:50 +02:00
peterkogo 3f259e9662 variable autoPanSpeed 2024-07-04 16:33:45 +02:00
moklick 14667f83d2 Merge branch 'enhance-connection-more' of github.com:xyflow/xyflow into enhance-connection-more 2024-06-27 17:15:36 +02:00
moklick 5c44dd9c31 Merge branch 'next' into enhance-connection-more 2024-06-27 17:14:17 +02:00
moklick b00eff979a Merge branch 'next' into absolute-origin 2024-06-27 17:03:58 +02:00
moklick aa0e131162 refactor(react): init store with user nodeOrigin 2024-06-27 17:01:01 +02:00
moklick 15241b4fd0 fix(react): use correct dimensions for ssr 2024-06-27 17:00:44 +02:00
moklick 609f7ed792 refactor(positions): remove unused node origins 2024-06-27 15:03:35 +02:00
peterkogo 941898b97d fixed connectionLine not updating correctly on auto pan 2024-06-27 13:44:30 +02:00
Moritz KlackandGitHub 805a20336c Merge branch 'next' into enhance-connection-more 2024-06-26 17:01:20 +02:00