Commit Graph
188 Commits
Author SHA1 Message Date
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
moklick b601d385f3 chore(useNodeConnections): add default param 2025-01-07 13:34:37 +01:00
peterkogo e37712bbb9 add NodeConnection 2025-01-07 12:20:54 +01:00
peterkogo 4a0b5e6c21 deprecated useHandleConnections 2025-01-07 10:29:22 +01:00
peterkogo 0863554271 fixed naming & exportyts 2025-01-07 10:24:44 +01:00
peterkogo dcf6a63595 reverted useHandleConnections 2025-01-06 12:22:28 +01:00
peterkogo ed82fd2eda added useNodeConnections 2025-01-06 11:19:29 +01:00
peterkogo 7de640685a Fix origin not being respected, when calulating rect 2024-12-09 12:30:05 +01:00
peterkogo 34f01e2964 support key combinations which include + 2024-11-07 11:27:50 +01:00
peterkogo 0ae06ce5cb implemented more broader tracking of handleConnections 2024-10-10 17:20:21 +02:00
moklick b47a04fb8b chore(useReactFlow): cleanup fitView 2024-09-23 15:01:20 +02:00
braks f70c5bb68f fix(react,svelte): calculate viewport dimensions inside of fitView action 2024-09-18 14:24:40 +02:00
moklick 091d6bac68 refactor(getNodesBounds): use system/getNodesBounds for hook 2024-09-04 12:51:43 +02:00