Commit Graph

433 Commits

Author SHA1 Message Date
moklick
4129c88f91 chore(packages): bump 2024-07-01 12:39:49 +02:00
moklick
00063ab925 chore(changelog): update 2024-06-27 17:24:32 +02:00
moklick
86485c5bcc chore(changelog): update 2024-06-27 17:22:17 +02:00
moklick
14667f83d2 Merge branch 'enhance-connection-more' of github.com:xyflow/xyflow into enhance-connection-more 2024-06-27 17:15:36 +02:00
moklick
5c44dd9c31 Merge branch 'next' into enhance-connection-more 2024-06-27 17:14:17 +02:00
moklick
b00eff979a Merge branch 'next' into absolute-origin 2024-06-27 17:03:58 +02:00
moklick
aa0e131162 refactor(react): init store with user nodeOrigin 2024-06-27 17:01:01 +02:00
moklick
15241b4fd0 fix(react): use correct dimensions for ssr 2024-06-27 17:00:44 +02:00
moklick
609f7ed792 refactor(positions): remove unused node origins 2024-06-27 15:03:35 +02:00
peterkogo
941898b97d fixed connectionLine not updating correctly on auto pan 2024-06-27 13:44:30 +02:00
peterkogo
38de98b6b7 removed console.log 2024-06-26 18:13:38 +02:00
peterkogo
25dfeb1c02 dont invoke connection updates if the snapped handle stays the same 2024-06-26 18:12:56 +02:00
moklick
41ebe46d77 Merge branch 'enhance-connection-more' of github.com:xyflow/xyflow into enhance-connection-more 2024-06-26 17:24:15 +02:00
moklick
25ff17a161 chore(useConnection): update tsdoc 2024-06-26 17:23:52 +02:00
Moritz Klack
805a20336c Merge branch 'next' into enhance-connection-more 2024-06-26 17:01:20 +02:00
moklick
e179324264 chore(connection-line): variable name 2024-06-26 16:59:38 +02:00
moklick
08750d354f chore(utils): remove logs 2024-06-26 15:45:05 +02:00
moklick
f968ff42ca chore(react): node origin cleanup 2024-06-26 15:26:22 +02:00
peterkogo
5493f045ff streamlined connections 2024-06-26 15:03:12 +02:00
moklick
c444eb380b chore(react-minimap): remove unused origin values 2024-06-26 13:44:21 +02:00
moklick
e22c1b9391 chore(node-resizer): update 2024-06-25 12:13:34 +02:00
peterkogo
44254648c8 changed naming and streamlined connections 2024-06-24 16:37:11 +02:00
Moritz Klack
67e29b6c25 Merge branch 'next' into absolute-origin 2024-06-24 12:57:24 +02:00
moklick
71db83761c fix(react): window bug 2024-06-20 15:53:35 +02:00
moklick
7338eab8c9 chore(react): bump 2024-06-20 15:47:51 +02:00
moklick
aac0e9d0ff chore(react): changelog 2024-06-20 15:47:36 +02:00
moklick
6704e51d2a fix(react): check if window exists 2024-06-20 15:47:01 +02:00
moklick
d0e166d4a8 chore(packages): bump 2024-06-20 13:40:36 +02:00
moklick
8346b79a9d chore(libs): changelogs 2024-06-20 10:32:59 +02:00
moklick
3b48228437 chore(changelogs): update 2024-06-19 17:16:41 +02:00
Peter Kogo
6cf0113005 Use correct end handle position when drawing a connection (#4382)
* use correct end handle position \when drawing connection lines

* provide correct connection end handle, also when connection is invalid

* add end handle position to connection despite being invalid

* chore(connectionline): remove logs

---------

Co-authored-by: moklick <info@moritzklack.com>
2024-06-19 17:15:07 +02:00
moklick
45359c4861 chore(libs): changelogs 2024-06-19 17:07:31 +02:00
Peter Kogo
86438a954f Better selection usability (#4379)
* use pointer capture for selection boxes

* fixed selection box behaviour

* promoted modifier listeners to window level

* selection should still happen when shift key is let go during selection

* ported changes to svelte flow

* review changes
2024-06-19 17:05:04 +02:00
Moritz Klack
75acd24cee Rename updateEdge to reconnectEdge (#4373)
* refactor(edges): rename update to reconnect

* refactor(react): rename edge update to reconnect

* chore(examples): repair broken reconnect example

* chore(react): changelog
2024-06-19 16:57:30 +02:00
moklick
7895a5982d chore(packages): bump 2024-06-10 18:08:35 +02:00
moklick
5d6ac6e316 chore(packages): bump 2024-06-06 17:33:55 +02:00
Moritz Klack
3bba0b41e0 feat(useReactFlow): add updateEdge and updateEdgeData (#4351)
* feat(useReactFlow): add updateEdge and updateEdgeData

* chore(examples): add updateEdge call
2024-06-06 17:26:10 +02:00
moklick
71980a85e6 fix(react): add compiler options outDir 2024-06-06 17:25:25 +02:00
Moritz Klack
9bc721c1b7 Merge pull request #4344 from xyflow/fix/dynamic-edge-labels
refactor(react): enable dynamic edge label updates closes #4340
2024-06-06 12:57:45 +02:00
moklick
982ffb5e59 refactor(edge-text): enable dynamic edge label updates closes #4340 2024-06-05 17:49:05 +02:00
peterkogo
82dddb2579 added straight edge to path built-in-types 2024-06-05 17:21:41 +02:00
moklick
9d1cfb24ce chore(changelog): update 2024-06-05 13:09:12 +02:00
moklick
48f07d5935 chore(packages): bump 2024-06-05 12:58:44 +02:00
moklick
3cc14e8ee5 refactor(nodes): add parentId to NodeProps closes #4061 2024-06-03 17:23:46 +02:00
Moritz Klack
5769ad2ab5 Merge pull request #4323 from xyflow/expose-node-edge-props
exposed selectable, deletable, draggable to custom nodes & edges
2024-06-03 17:07:58 +02:00
Moritz Klack
dd960dab02 Merge pull request #4278 from ogroppo/type-updateNodeData-arg
[React] Fix: type `updateNodeData`  dataUpdate arg
2024-06-03 17:00:30 +02:00
moklick
e52eb67e6c chore(react): update changelog 2024-06-03 16:14:39 +02:00
moklick
c94d684b31 fix(nodes): update internals after node resizer updates 2024-06-03 16:13:08 +02:00
moklick
e82c72a912 fix(react): re-observe nodes when hidden is toggled 2024-06-03 16:12:36 +02:00
peterkogo
403aa8f5da exposed selectable, deletable, draggable to custom nodes & edges 2024-06-03 10:48:05 +02:00