Commit Graph

871 Commits

Author SHA1 Message Date
Ilia
4ef93d611f Update onNodesChange docstring in component-props.ts
Removed all references of edges in the docstring of onNodesChange
2025-04-05 14:35:35 +02:00
github-actions[bot]
9a4011aa2b chore(packages): bump 2025-04-02 18:56:21 +00:00
moklick
cc64a1902a refactor(node-resizer): pass latest dimensions to onEnd handler #5083 2025-04-02 19:45:15 +02:00
Moritz Klack
3e708c9562 Merge pull request #5142 from dimaMachina/tsdoc-8 2025-04-02 16:51:34 +02:00
moklick
0f293eebae fix(minimap): return usernode 2025-04-02 13:53:32 +02:00
moklick
5c66916370 fix(minimap): return usernode 2025-04-02 13:41:08 +02:00
Moritz Klack
8befd1384e Merge pull request #5141 from dimaMachina/tsdoc-7
fix: improve TSDoc comments for `Edge`, `BaseEdgeProps` and `ConnectionLineComponentProps`
2025-04-02 13:30:14 +02:00
Moritz Klack
a08757c16c Merge pull request #5138 from dimaMachina/tsdoc-4
fix: improve TSDoc comments for `ViewportHelperFunctions` and `NodeToolbarProps`
2025-04-02 13:23:03 +02:00
Moritz Klack
b22e876b22 Merge pull request #5135 from dimaMachina/tsdoc-1
fix: improve TSDoc comments for `NodeResizerProps` and `ResizeControlProps`
2025-04-02 13:20:22 +02:00
Moritz Klack
a644d77c1f Merge pull request #5134 from dimaMachina/tsdoc
fix `@default` TSDoc tags for `BackgroundProps`
2025-04-02 13:19:57 +02:00
Moritz Klack
8962c09f09 Merge pull request #5140 from dimaMachina/tsdoc-6
fix: improve TSDoc comments for `MiniMapProps` and `PanelProps`
2025-04-02 10:13:27 +02:00
Moritz Klack
68d0697793 Merge pull request #5143 from dimaMachina/tsdoc-9
fix: improve TSDoc comments for `ReactFlowInstance` and `GeneralHelpers`
2025-04-02 10:06:48 +02:00
Moritz Klack
c342e2cf33 Merge pull request #5144 from dimaMachina/tsdoc-10 2025-04-01 21:33:39 +02:00
Dimitri POSTOLOV
5a1ce56e8c fix: compare nodeStrokeWidth with number, not with string 2025-04-01 21:17:16 +02:00
Dimitri POSTOLOV
b1e1cc1125 fix: improve TSDoc comments for ReactFlowInstance and GeneralHelpers 2025-04-01 21:15:05 +02:00
Dimitri POSTOLOV
06cf4c10f5 fix: improve TSDoc comments for Edge, BaseEdgeProps and ConnectionLineComponentProps 2025-04-01 21:04:42 +02:00
Dimitri POSTOLOV
82e6860e13 fix: improve TSDoc comments for MiniMapProps and PanelProps 2025-04-01 20:55:17 +02:00
Dimitri POSTOLOV
d4eb8d52d0 fix: improve TSDoc comments for ViewportHelperFunctions and NodeToolbarProps 2025-04-01 20:49:08 +02:00
Dimitri POSTOLOV
754a167134 fix: improve TSDoc comments for NodeResizerProps and ResizeControlProps 2025-04-01 20:38:33 +02:00
Dimitri POSTOLOV
7acab1e123 fix @default TSDoc tags for BackgroundProps 2025-04-01 20:36:00 +02:00
github-actions[bot]
8adca80945 chore(packages): bump 2025-04-01 10:42:51 +00:00
peterkogo
aae3f49eec make fitView fire even when onNodesChange is not implmented 2025-04-01 12:39:42 +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