561 Commits

Author SHA1 Message Date
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
Nick Lawrence
388b2588a4 When horizontal, remove the border from all control buttons 2025-04-04 16:05:39 -04:00
moklick
77701143ca chore(xypanzoom): cleanup 2025-04-02 20:49:37 +02:00
moklick
9980cff2fe chore(xypanzoom): prevent default for pinch zoom on nowheel element #5074 2025-04-02 20:46:08 +02: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
Moritz Klack
d0e2548983 Merge pull request #5139 from dimaMachina/tsdoc-5
fix: use `rgba` for colors with opacity instead of `rgb`
2025-04-02 13:26:06 +02:00
Moritz Klack
50b76e848c Merge pull request #5137 from dimaMachina/tsdoc-3
fix: improve TSDoc comments for `Connection` and `ConnectionInProgress`
2025-04-02 13:22:39 +02:00
Dimitri POSTOLOV
9c78c2c758 fix: improve TSDoc comments for HandleProps, NodeBase and InternalNodeBase 2025-04-01 21:10:58 +02:00
Dimitri POSTOLOV
89de9ca83f fix: improve TSDoc comments for NodeResizerProps and ResizeControlProps 2025-04-01 20:52:26 +02:00
Dimitri POSTOLOV
f0f378e5b6 fix: improve TSDoc comments for Connection and ConnectionInProgress 2025-04-01 20:46:13 +02:00
Dimitri POSTOLOV
36657cd663 fix: improve TSDoc comments for EdgeBase 2025-04-01 20:40:41 +02:00
Moritz Klack
ed8c6a931d Merge pull request #5067 from xyflow/enhance/fitView
Enhance fitView
2025-03-27 12:04:48 +01:00
peterkogo
48d0837939 use object instead of array for paddings & clean up fitView code 2025-03-26 12:49:43 +01:00
Dimitri POSTOLOV
9e2e3c22a9 fix: improve TSDoc comments for ControlProps 2025-03-25 18:58:01 +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
488a7a64ec Merge branch 'enhance/fitView' into enhance/fitViewOptions 2025-03-25 13:43:51 +01:00
peterkogo
79ce58db78 Merge branch 'main' into enhance/fitView 2025-03-25 13:21:11 +01:00
peterkogo
1202c9a687 paddings with units 2025-03-25 13:10:13 +01:00
moklick
8ff900c0cf feat(panel): add center-left and center-right positions #5082 2025-03-17 14:50:32 +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
Moritz Klack
ad047fa023 Merge pull request #5010 from xyflow/tsdocs-update
TSDoc update
2025-02-12 16:49:36 +01:00
moklick
0b06491ef9 chore(tsdocs): cleanup 2025-02-12 14:42:12 +01:00
moklick
c3dc6d3851 chore(tsdocs): cleanup 2025-02-12 14:29:20 +01:00
Moritz Klack
d76951e84b Merge pull request #4990 from damianstasik/autopan-fix
fix(system): ensure auto-pan stops when state changes during drag
2025-02-12 13:44:22 +01:00
moklick
381ed2a5bf chore(types): add tsdocs 2025-02-11 17:57:21 +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
Dimitri POSTOLOV
b9c07dc211 fix lint command, bump eslint packages 2025-02-09 05:43:15 +07:00
Damian Stasik
44c836da32 fix(system): ensure auto-pan stops when state changes during drag 2025-01-31 14:58:16 +01:00
Moritz Klack
4e1eef5065 Merge pull request #4957 from xyflow/enhance/node-props
Enhance/node props
2025-01-21 15:49:09 +01:00
peterkogo
c12fa5c178 Allow handle id to be null 2025-01-21 15:45:35 +01:00
peterkogo
7cb9a8686d Make internal nodes immutable 2025-01-21 15:45:08 +01:00
peterkogo
98b212f0d5 Narrow NodeProps type properties selected, selectable, draggable and deletable required 2025-01-20 11:20:33 +01:00
peterkogo
d43a1716e5 fix connectionLookup keys, to prevent overlaps 2025-01-16 10:36:13 +01:00
Moritz Klack
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 Klack
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
e37712bbb9 add NodeConnection 2025-01-07 12:20:54 +01:00
peterkogo
4fc8e08128 fixed internal examples, made code more understandable 2025-01-07 11:57:33 +01:00
peterkogo
ed82fd2eda added useNodeConnections 2025-01-06 11:19:29 +01:00
CRIMX
b7b5032c02 fix(system): safe check all event target 2024-12-10 12:56:30 +08:00