Commit Graph
195 Commits
Author SHA1 Message Date
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 93034b50dc chore(react): init check 2025-04-15 16:05:28 +02:00
Moritz KlackandGitHub 0b561f1a30 Merge pull request #5191 from xyflow/fix/fit-view-padding
Fix legacy fitView padding
2025-04-14 13:42:29 +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
peterkogo 20fcba300f fix legacy padding 2025-04-09 14:04:31 +02:00
Moritz KlackandGitHub 12db2a50c8 Merge pull request #5169 from dimaMachina/tsdoc2-15
Improve TSDoc comments for `type ReconnectEdgeOptions` and `getViewportForBounds`
2025-04-07 11:18:49 +02:00
Moritz KlackandGitHub 217b39dd9f Merge pull request #5168 from dimaMachina/tsdoc2-14
Improve TSDoc comments for `getOutgoers`, `getIncomers` and `type GetNodesBoundsParams`
2025-04-06 21:04:49 +02:00
Moritz KlackandGitHub e598592c8a Merge pull request #5157 from dimaMachina/tsdoc2-3
Improve TSDoc comments for `type GetBezierPathParams` and `getBezierPath` function
2025-04-06 20:56:49 +02:00
Moritz KlackandGitHub af66633e83 Merge pull request #5156 from dimaMachina/tsdoc2-2
Improve TSDoc comments for `type GetSmoothStepPathParams` and `getSmoothStepPath` function
2025-04-06 20:56:27 +02:00
Dimitri POSTOLOV 1f671bd48f Improve TSDoc comments for type ReconnectEdgeOptions and getViewportForBounds 2025-04-06 04:41:00 +02:00
Dimitri POSTOLOV cbe305e15a Improve TSDoc comments for getOutgoers, getIncomers and type GetNodesBoundsParams 2025-04-06 04:37:13 +02:00
Dimitri POSTOLOV 2a48c3442f remove duplicate @returns tag 2025-04-05 17:10:58 +02:00
Dimitri POSTOLOV 6ec942fc65 Improve TSDoc comments for type GetBezierPathParams and getBezierPath function 2025-04-05 17:06:50 +02:00
Dimitri POSTOLOV 02a3b74645 Improve TSDoc comments for type GetSmoothStepPathParams and getSmoothStepPath function 2025-04-05 17:04:53 +02:00
Dimitri POSTOLOV aaebc46295 Improve TSDoc comments for type GetStraightPathParams and getStraightPath function 2025-04-05 17:02:47 +02:00
peterkogo 48d0837939 use object instead of array for paddings & clean up fitView code 2025-03-26 12:49:43 +01:00
peterkogo e3ecf999aa correctly apply asymetric paddings 2025-03-25 18:05:58 +01:00
peterkogo 137b23c6a7 add initial support for asymmetric paddings 2025-03-25 17:13:21 +01:00
peterkogo 1202c9a687 paddings with units 2025-03-25 13:10:13 +01:00
peterkogo cd03c46196 Add pixel units and left and right padding options for fitView 2025-03-05 17:38:30 +01:00
peterkogo 502a240560 updated typescript, implemented for svelte flow 2025-03-05 16:20:05 +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
moklick 0b67a6c303 refactor(errors): show error when user drags uninitialized node #5014 2025-02-25 10:52:54 +01:00
moklick c3dc6d3851 chore(tsdocs): cleanup 2025-02-12 14:29:20 +01:00
moklick 7b0f96f017 chore(types): add tsdocs 2025-02-11 15:47:56 +01:00
moklick fb63462be3 chore(utils): tsdoc update 2025-02-11 15:18:41 +01:00
peterkogo 7cb9a8686d Make internal nodes immutable 2025-01-21 15:45:08 +01:00
peterkogo d43a1716e5 fix connectionLookup keys, to prevent overlaps 2025-01-16 10:36:13 +01:00
Moritz KlackandGitHub cdca1c55d1 Merge pull request #4880 from crimx/patch-2
Fix type check for all event targets
2025-01-10 10:27:19 +01:00
peterkogo 4947f683b7 Move areSetsEqual to system 2025-01-08 16:09:20 +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
peterkogo 4fc8e08128 fixed internal examples, made code more understandable 2025-01-07 11:57:33 +01:00
CRIMX b7b5032c02 fix(system): safe check all event target 2024-12-10 12:56:30 +08:00
CRIMXandGitHub 468699bfdd fix(system): safely handles non-html-element object
`event.composedPath` and `event.target` do not always return `HTMLElement` object(as their types suggested).
2024-12-09 19:08:49 +08:00
Peter KogoandGitHub 01f01b95c2 Merge pull request #4782 from xyflow/fix/evaluateAbsolutePosition
fixed evaluateAbsolutePosition for nested nodes
2024-11-08 11:23:54 +01:00
peterkogo ae7a3478aa Fix node dragging while zooming on a flow that does not occupy whole browser window. 2024-11-07 12:42:17 +01:00
peterkogo 323e1b35c5 fixed evaluateAbsolutePosition for nested nodes 2024-11-04 10:41:52 +01:00
peterkogo c622b5a5c2 added comments to new connection lookup logic 2024-10-14 11:16:41 +02:00
peterkogo 0ae06ce5cb implemented more broader tracking of handleConnections 2024-10-10 17:20:21 +02:00
peterkogo f1118df317 update absolute positions before initial fitView 2024-09-19 11:40:19 +02:00
Moritz KlackandGitHub cd0f1b58c3 Merge pull request #4572 from xyflow/fix-extent
fix node extent
2024-09-05 16:39:23 +02:00
moklick f5423bb7f4 chore(getNodesBounds): adjust warning 2024-09-05 14:47:42 +02:00
peterkogo f82cfe6c27 clamp global nodeExtent correctly 2024-09-05 12:28:55 +02:00
moklick 122f722742 chore(store): cleanup 2024-09-04 17:07:00 +02:00
moklick 091d6bac68 refactor(getNodesBounds): use system/getNodesBounds for hook 2024-09-04 12:51:43 +02:00