Commit Graph
200 Commits
Author SHA1 Message Date
Peter KogoandGitHub 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
peterkogo 1c218d27f1 make getIntersectingNodes and isNodeIntersecting behave the same 2025-08-26 13:06:15 +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
moklick 4e588b2c23 fix(handle-on-connect): use correct HandleConnection type #5447 2025-08-12 14:36:06 +02:00
moklick 025385ca4e fix(get-node-intersections): calculate overlapping area correctly #5382 2025-07-09 10:04:38 +02:00
moklick d434f0cde7 chore(nodewrapper): cleanup 2025-06-05 16:28:02 +02:00
moklick ce9814ddce feat(viewport-options): add interpolate 2025-05-19 15:19:11 +02:00
moklick 9691d2c070 feat(viewport-options): add ease #3189 2025-05-19 13:14:27 +02:00
moklick 8ce85fd8f0 fix(react): multi select works when input is focused 2025-05-15 11:57:54 +02:00
Moritz KlackandGitHub 42934253fb Merge pull request #5192 from xyflow/enhance/nodesInitialized
Use nodesInitialized from adoptUserNodes
2025-04-14 13:40:58 +02:00
moklick 5412f71ae5 chore(system): add polyfill for Promise.withResolvers #5210 2025-04-14 10:19:35 +02:00
peterkogo be4e266d69 use nodesInitialized from adoptUserNodes 2025-04-09 14:20:11 +02:00
Moritz KlackandGitHub e3febd9fe5 Merge pull request #5172 from dimaMachina/tsdoc2-18
Improve TSDoc comments for `useNodesData`, `useReactFlow`, `isNode` and `isEdge`
2025-04-07 11:22:05 +02:00
Moritz KlackandGitHub e145ac3382 Merge pull request #5167 from dimaMachina/tsdoc2-13
Improve TSDoc comments for `useEdges`, `useInternalNode`, `useNodes` and `useNodeId` hooks
2025-04-06 21:04:00 +02:00
Moritz KlackandGitHub b3dae4c995 Merge pull request #5166 from dimaMachina/tsdoc2-12
Improve TSDoc comments for `useStore` hook
2025-04-06 21:02:59 +02:00
Moritz KlackandGitHub c099702b0c Merge pull request #5165 from dimaMachina/tsdoc2-11
Improve TSDoc comments for `useViewport`, `useUpdateNodeInternals`, `useOnSelectionChange`, `useNodesInitialized` hooks and `UseOnSelectionChangeOptions`, `UseNodesInitializedOptions` types
2025-04-06 21:02:20 +02:00
Moritz KlackandGitHub 564b078b52 Merge pull request #5164 from dimaMachina/tsdoc2-10
Improve TSDoc comments for `type UseOnViewportChangeOptions` and `useOnViewportChange` hook
2025-04-06 21:01:46 +02:00
Moritz KlackandGitHub 7df666188c Merge pull request #5163 from dimaMachina/tsdoc2-9
Improve TSDoc comments for `useNodesState` and `useEdgesState` hook
2025-04-06 21:01:25 +02:00
Moritz KlackandGitHub 9d81021c7a Merge pull request #5162 from dimaMachina/tsdoc2-8
Improve TSDoc comments for `type UseNodeConnectionsParams` and `useNodeConnections` hook
2025-04-06 21:00:30 +02:00
Moritz KlackandGitHub bd2f4ea8a6 Merge pull request #5161 from dimaMachina/tsdoc2-7
Improve TSDoc comments for `type UseKeyPressOptions` and `useKeyPress` hook
2025-04-06 20:59:59 +02:00
06f4dc73a5 Update packages/react/src/hooks/useKeyPress.ts
Co-authored-by: Dimitri POSTOLOV <dmytropostolov@gmail.com>
2025-04-06 20:59:15 +02:00
Moritz KlackandGitHub 8f2b75b204 Merge pull request #5160 from dimaMachina/tsdoc2-6
Improve TSDoc comments for `type UseHandleConnectionsParams` and `useHandleConnections` hook
2025-04-06 20:58:21 +02:00
Dimitri POSTOLOV e6139a00d4 Improve TSDoc comments for useNodesData, useReactFlow, isNode and isEdge 2025-04-06 04:52:08 +02:00
Dimitri POSTOLOV 934ea42d9a Improve TSDoc comments for useEdges, useInternalNode, useNodes and useNodeId hooks 2025-04-05 17:44:33 +02:00
Dimitri POSTOLOV 701ad17ed3 Improve TSDoc comments for type useStore hook 2025-04-05 17:40:58 +02:00
Dimitri POSTOLOV d536abea92 Improve TSDoc comments for useViewport, useUpdateNodeInternals, useOnSelectionChange, useNodesInitialized hooks and UseOnSelectionChangeOptions, UseNodesInitializedOptions types 2025-04-05 17:37:43 +02:00
Dimitri POSTOLOV 09021550dc Improve TSDoc comments for type UseOnViewportChangeOptions and useOnViewportChange hook 2025-04-05 17:34:06 +02:00
Dimitri POSTOLOV ab800054a5 Improve TSDoc comments for useNodesState and useEdgesState hook 2025-04-05 17:31:46 +02:00
Dimitri POSTOLOV 29f4aeb260 Improve TSDoc comments for type UseNodeConnectionsParams and useNodeConnections hook 2025-04-05 17:29:43 +02:00
Dimitri POSTOLOV c4efe74920 Improve TSDoc comments for type UseKeyPressOptions and useKeyPress hook 2025-04-05 17:23:12 +02:00
Dimitri POSTOLOV b357f43dfa Improve TSDoc comments for type UseHandleConnectionsParams and useHandleConnections hook 2025-04-05 17:20:34 +02:00
Dimitri POSTOLOV 0c1436d6a3 Improve TSDoc comments for useConnection hook 2025-04-05 17:18:07 +02:00
Moritz KlackandGitHub ed8c6a931d Merge pull request #5067 from xyflow/enhance/fitView
Enhance fitView
2025-03-27 12:04:48 +01:00
moklick 9b1c638de8 refactor(useKeyPress): cleanup 2025-03-27 11:00:22 +01:00
moklick 238664e322 refactor(useKeyPress): update preventDefault handling 2025-03-27 10:55:22 +01:00
peterkogo 79ce58db78 Merge branch 'main' into enhance/fitView 2025-03-25 13:21:11 +01:00
peterkogo c98b6c01f9 Add comments 2025-03-05 15:16:12 +01:00
peterkogo f208223400 Add back promise resolution for transitioning on fitView 2025-03-05 15:00:44 +01:00
peterkogo ee1ef205eb Refactor fitView 2025-03-05 13:45:28 +01:00
Daniel DarabosandGitHub dfc28c7a15 Always allow releasing keys. 2025-02-25 19:57:59 +01:00
moklick d094ef0581 fix(OnSelectionChangeFunc): pass node and edge type generics #5023 2025-02-23 18:32:43 +01:00
Dimitri POSTOLOV 5867bba805 lint: remove unnecessary type assertion 2025-02-20 16:03:44 +07:00
Abbey Yacoe ae5f3666d4 docs(useNodeConnections): fix tsdocs typo 2025-02-17 10:42:11 +01:00
Moritz KlackandGitHub ad047fa023 Merge pull request #5010 from xyflow/tsdocs-update
TSDoc update
2025-02-12 16:49:36 +01:00
moklick a7b141a917 chore(screenToflowPosition): use correct defaults add snapGrid 2025-02-12 12:51:52 +01:00
moklick 381ed2a5bf chore(types): add tsdocs 2025-02-11 17:57:21 +01:00
moklick d8ab3bf0bd chore(hooks): tsdoc update 2025-02-11 13:59:17 +01:00
moklick 78f9d4e645 refactor(useNodeConnections): change param names 2025-01-09 16:08:52 +01:00
Moritz KlackandGitHub c2f056fea5 Merge pull request #4725 from xyflow/feat/use-handle-connection
add `useNodeConnections`, deprecate `useHandleConnections`
2025-01-07 15:18:11 +01:00
peterkogo b2d1844c0f remove redundant connectionLookup entries 2025-01-07 14:18:05 +01:00