peterkogo
|
ea8b9e0050
|
clamp position on adoptUserNode
|
2024-08-22 11:00:16 +02:00 |
|
peterkogo
|
04774e5011
|
added nodeExtent to Svelte Flow and React Flow Provider
|
2024-08-22 10:34:52 +02:00 |
|
peterkogo
|
4a30f3a0fd
|
fixed node extent calculation and simplified calculateNodePosition
|
2024-08-20 12:42:57 +02:00 |
|
peterkogo
|
d9563505d8
|
fix node extent
|
2024-08-19 17:44:36 +02:00 |
|
Moritz Klack
|
edbc514f1c
|
Merge pull request #4568 from xyflow/fix-draggable
Fix grab cursor
|
2024-08-19 15:21:52 +02:00 |
|
peterkogo
|
6af9f45a74
|
Cursor grab only shown if left click is panning
|
2024-08-19 11:56:08 +02:00 |
|
peterkogo
|
9ea14439c8
|
fix type of edges in store to generic
|
2024-08-19 11:41:57 +02:00 |
|
Moritz Klack
|
82b9a69aae
|
Merge pull request #4555 from xyflow/reconnect-end-param
Pass final connection state to onReconnectEnd
|
2024-08-15 13:19:31 +02:00 |
|
peterkogo
|
21e5fc1520
|
re-export connectionState types
|
2024-08-15 13:10:27 +02:00 |
|
peterkogo
|
8590f9dfea
|
added final connection state to onReconnectEnd
|
2024-08-15 12:52:40 +02:00 |
|
peterkogo
|
2a673370ad
|
added possibility to use selector with useConnection hook
|
2024-08-15 12:04:14 +02:00 |
|
Moritz Klack
|
51f8f56566
|
Merge pull request #4548 from xyflow/handle-lookup
Improve search algorithm for close handles
|
2024-08-14 16:39:50 +02:00 |
|
Moritz Klack
|
a892eee142
|
Merge pull request #4550 from xyflow/fix/fitview-trigger
Fix/fitview trigger
|
2024-08-14 16:34:25 +02:00 |
|
moklick
|
93af3409c4
|
fix(react/fitView): only trigger for resize observer
|
2024-08-14 16:33:08 +02:00 |
|
Moritz Klack
|
36f4511a6f
|
Merge branch 'main' into handle-lookup
|
2024-08-14 12:28:44 +02:00 |
|
Moritz Klack
|
2a50f0c7a0
|
Merge pull request #4549 from xyflow/refactor/on-connect-end-param
Refactor/on connect end param
|
2024-08-14 12:26:13 +02:00 |
|
moklick
|
aae62e9ec6
|
feat(onConnectEnd): pass connectionState
|
2024-08-14 11:17:34 +02:00 |
|
peterkogo
|
c3e7d61cb4
|
replaced handle lookup with ad-hoc way of searching for closest handles
|
2024-08-13 17:30:35 +02:00 |
|
moklick
|
3496d39c6d
|
chore(react): re-export handle type #4535
|
2024-08-13 14:17:17 +02:00 |
|
Moritz Klack
|
69f53c0eff
|
Merge pull request #4501 from xyflow/background-offset
Background offset
|
2024-07-31 15:50:14 +02:00 |
|
Jeffrey Gordon
|
78739a0674
|
Scale dots by 0.5 to match size using old offset
|
2024-07-30 12:37:31 -04:00 |
|
Moritz Klack
|
6cf70ae14c
|
Merge pull request #4482 from dongtc/dev/typo
chore: fix typo
|
2024-07-30 14:23:05 +02:00 |
|
peterkogo
|
96b2795f48
|
only capture pointer for when selection is starting
|
2024-07-30 13:42:49 +02:00 |
|
dongqiang.02
|
c58aad935b
|
chore: fix typo
|
2024-07-24 16:18:04 +08:00 |
|
peterkogo
|
3f795f9ed8
|
fix nodeExtent causing jumping when dragging
|
2024-07-23 08:52:49 +02:00 |
|
Jeffrey Gordon
|
ad8aa13556
|
Control background pattern translation with offset
|
2024-07-22 22:49:09 -04:00 |
|
moklick
|
da35b9d7fb
|
feat(props): add nodeClickDistance
|
2024-07-15 15:28:27 +02:00 |
|
Moritz Klack
|
edf7a8eec0
|
Merge pull request #4450 from xyflow/fix/selection-handler
fix(selection): dont trigger onSelectionEnd on click
|
2024-07-15 14:44:04 +02:00 |
|
moklick
|
9b8486b39f
|
fix(selection): dont trigger onSelectionEnd on click
|
2024-07-15 14:38:46 +02:00 |
|
moklick
|
a51ee45b66
|
fix(resizer): export types closes #4439
|
2024-07-15 10:56:39 +02:00 |
|
Moritz Klack
|
ef627aeb49
|
Merge pull request #4434 from xyflow/fix/selectionbox
fix(selection): handle pointer capture for selectionOnDrag
|
2024-07-10 14:22:52 +02:00 |
|
moklick
|
4062a24add
|
fix(selection): handle pointer capture for selectionOnDrag closes #4418
|
2024-07-10 14:14:24 +02:00 |
|
moklick
|
b41b111af6
|
chore(react): use connection state generics internally
|
2024-07-10 12:04:23 +02:00 |
|
moklick
|
6904b5bd49
|
refactor(useConnection): return internal node, add node generic
|
2024-07-10 11:58:49 +02:00 |
|
moklick
|
f722e2f0a3
|
fix(onNodeDragStop): nodes are set to dragging=false
|
2024-07-09 11:21:31 +02:00 |
|
moklick
|
69bd68f4b8
|
feat(panzoom): add paneClickDistance prop
|
2024-07-09 10:50:50 +02:00 |
|
moklick
|
e5b8236a60
|
refactor(panzoom): return promises for viewport helpers
|
2024-07-08 15:34:41 +02:00 |
|
moklick
|
2503d32a88
|
feat(viewport-helpers): return promises
|
2024-07-08 13:18:07 +02:00 |
|
peterkogo
|
3f259e9662
|
variable autoPanSpeed
|
2024-07-04 16:33:45 +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 |
|