Commit Graph

649 Commits

Author SHA1 Message Date
moklick
5c66916370 fix(minimap): return usernode 2025-04-02 13:41:08 +02:00
github-actions[bot]
742bfe345a chore(packages): bump 2025-03-31 12:53:58 +00:00
peterkogo
aa873d6ddc enhance fitView scheduling 2025-03-31 13:47:15 +02:00
peterkogo
b1502dc2dc Dont call onNodesChange when there are no changes & call setNodes instead 2025-03-31 11:52:43 +02:00
Bjørn Olav Salvesen
0d4dab1771 chore: add missing type re-export for NodeConnection 2025-03-29 12:40:03 +01:00
github-actions[bot]
959742f499 chore(packages): bump 2025-03-27 12:31:08 +00:00
moklick
150549cd4f chore(store): cleanup 2025-03-27 13:20:57 +01:00
moklick
77b24e7f3a fix(fitView): handle uncontrolled flows 2025-03-27 13:17:46 +01:00
github-actions[bot]
8f45432378 chore(packages): bump 2025-03-27 11:06:08 +00:00
Moritz Klack
ed8c6a931d Merge pull request #5067 from xyflow/enhance/fitView
Enhance fitView
2025-03-27 12:04:48 +01:00
peterkogo
3ac2846d5e add comment 2025-03-27 12:03:47 +01:00
Moritz Klack
812573fc63 Merge pull request #5118 from xyflow/refactor/use-key-press
Refactor/use key press
2025-03-27 11:42:50 +01:00
peterkogo
9be5276069 simplify resolveFitView 2025-03-27 11:12:18 +01:00
peterkogo
ed1cb4da31 use async function instead of .then 2025-03-27 11:06:57 +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
Moritz Klack
a2ae546ad1 Merge pull request #5114 from dimaMachina/tsdoc-edgelabelrendererprops 2025-03-26 15:25:39 +01:00
Moritz Klack
8092374a13 Merge pull request #5115 from dimaMachina/tsdoc-edgetext
fix: improve TSDoc comments for `EdgeLabelOptions` and `EdgeTextProps`
2025-03-26 09:04:58 +01:00
Moritz Klack
ef0a754d7e Merge pull request #5116 from dimaMachina/tsdoc-NodeToolbarProps
fix: improve TSDoc comments for `NodeToolbarProps`
2025-03-26 09:03:56 +01:00
Dimitri POSTOLOV
5894215423 add changeset 2025-03-25 22:28:17 +01:00
Dimitri POSTOLOV
c215455735 a 2025-03-25 19:35:08 +01:00
Dimitri POSTOLOV
4a45770cc7 feat: export EdgeLabelRendererProps 2025-03-25 19:21:06 +01:00
Dimitri POSTOLOV
9e2e3c22a9 fix: improve TSDoc comments for ControlProps 2025-03-25 18:58:01 +01:00
peterkogo
bb1a97d7a8 fix uncontrolled flows 2025-03-25 13:43:30 +01:00
peterkogo
79ce58db78 Merge branch 'main' into enhance/fitView 2025-03-25 13:21:11 +01:00
Moritz Klack
c4adfcfa8a Merge pull request #5110 from dimaMachina/base-edge-props
fix: improve TSDoc comments for `EdgeLabelOptions` and `BaseEdgeProps`
2025-03-25 08:48:08 +01:00
Dimitri POSTOLOV
d76aefd8b0 upd 2025-03-24 22:42:21 +01:00
Dimitri POSTOLOV
a6604eb2c6 fix: improve TSDoc comments for BackgroundProps 2025-03-24 20:24:06 +01:00
moklick
8ecf9082f7 chore(ts-docs): add annotations for edges 2025-03-22 15:37:04 +01:00
peterkogo
6acb709bef extract fitView into action 2025-03-18 09:30:29 +01:00
moklick
254800ab9b refactor(minimap): do not show hidden nodes #5078 2025-03-18 09:09:36 +01:00
peterkogo
db4c019fe4 either trigger fitView after adoptUserNodes or after updateNodeInternals 2025-03-17 16:01:22 +01:00
Moritz Klack
74e3f0c5a1 Merge pull request #5090 from xyflow/patch-2
Patch 2
2025-03-17 14:35:56 +01:00
peterkogo
502a240560 updated typescript, implemented for svelte flow 2025-03-05 16:20:05 +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
braks
4891e9cc1c fix(react,svelte): prevent pane click when connection is in progress 2025-02-28 07:38:44 +01:00
Daniel Darabos
dfc28c7a15 Always allow releasing keys. 2025-02-25 19:57:59 +01:00
github-actions[bot]
d045503667 chore(packages): bump 2025-02-25 10:21:58 +00:00
moklick
7a00fe3520 chore(getNodeConnections): remove deprecation #5051 2025-02-25 11:03:14 +01:00
Moritz Klack
08b99e8719 Merge pull request #5043 from xyflow/refactor/dynamic-expand-parent
Refactor/dynamic expand parent
2025-02-25 11:00:49 +01:00
moklick
8dd2b4f9e2 chore(updateNodePositions): cleanup 2025-02-25 10:57:17 +01:00
moklick
0b67a6c303 refactor(errors): show error when user drags uninitialized node #5014 2025-02-25 10:52:54 +01:00
moklick
27df80b6a6 fix(selection-listener): pass generics 2025-02-24 08:58:24 +01:00
moklick
d094ef0581 fix(OnSelectionChangeFunc): pass node and edge type generics #5023 2025-02-23 18:32:43 +01:00
moklick
3969758af2 refactor(expandParent): use current value on drag #5039 2025-02-21 18:22:05 +01:00
moklick
43f188d3b1 fix(click-connections): handle isConnectableStart correctly #5041 2025-02-21 17:52:08 +01:00
Moritz Klack
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