Braks
410a59df5b
fix(core): unwrap ref when checking if connection in progress ( #1789 )
...
* fix(core): unwrap ref when checking if connection in progress
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com >
* chore(changeset): add
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com >
---------
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com >
2025-03-13 06:56:32 +01:00
Braks
49b2780740
fix(core): prevent pane click event when connection is in progress ( #1776 )
...
* fix(core): prevent pane click event when connection is in progress
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com >
* chore(changeset): add
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com >
---------
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com >
2025-03-09 10:10:38 +01:00
Braks
6f3ed67463
refactor(core): use connection lookup to check for selected elements ( #1737 )
...
* refactor(core): use connection lookup to check for selected elements
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com >
* chore(changeset): add
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com >
---------
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com >
2025-01-12 10:05:01 +01:00
Braks
f4f2494fd1
fix(core): allow control key as pan activation key code ( #1707 )
...
* fix(core): allow control key as pan activation key code
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com >
* chore(changeset): add
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com >
* fix(core): allow drag regardless of btn chosen
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com >
* fix(core): prevent browser ctx menu on pane right click
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com >
* chore(core): cleanup useKeyPress handler
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com >
* fix(core): check `panOnDrag` prop for allowed drag buttons
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com >
* chore(changeset): add
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com >
* chore(core): cleanup
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com >
---------
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com >
2024-12-07 16:39:07 +01:00
Braks
1e3acb1979
fix(core): if selection key code is true prevent pan on drag on left mouse btn ( #1670 )
...
* fix(core): if selection key code is true prevent pan on drag on left mouse btn
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com >
* chore(changeset): add
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com >
* fix(tests): correct viewport drag tests
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com >
---------
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com >
2024-11-01 23:13:48 +01:00
braks
ecd21ceebb
fix(core): allow pan on drag for other mouse btns if left is disabled
...
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com >
2024-11-01 19:48:16 +01:00
Braks
eb12bdc56f
fix(core): don't set user selection flags on pointer down ( #1600 )
...
* chore(core): remove deprecation of `removeSelectedElements`
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com >
* fix(core): don't set user selection flags on pointer down
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com >
* fix(core): prevent panning on drag when selection is active
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com >
* chore(changeset): add
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com >
---------
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com >
2024-08-30 12:45:11 +02:00
Braks
e90f4cca57
fix(core): only display grab cursor when panOnDrag is on left mouse button ( #1586 )
...
* fix(core): only display grab cursor when panOnDrag is on left mouse button
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com >
* chore(changeset): add
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com >
---------
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com >
2024-08-19 18:19:04 +02:00
Braks
a8d837bf93
fix(core): only capture pointer if valid selection has started ( #1565 )
...
* fix(core): only capture pointer if valid selection has started
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com >
* chore(changeset): add
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com >
---------
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com >
2024-08-05 10:11:34 +02:00
Braks
763f107aad
fix(core): prevent calling selectionEnd on selection click ( #1545 )
...
* fix(core): prevent calling `selectionEnd` on selection click
* chore(changeset): add
2024-07-15 19:14:01 +02:00
Braks
f32983116d
fix(core): handle pointer capture for selection on drag ( #1543 )
...
* fix(core): handle pointer capture for selection on drag
* chore(changeset): add
2024-07-15 19:14:01 +02:00
Braks
180109c0ca
feat(core): add paneClickDistance ( #1542 )
...
* feat(core): add `paneClickDistance`
* chore(changeset): add
2024-07-15 19:14:01 +02:00
Braks
0a0dfe96f1
chore(core): cleanup deprecation notices ( #1527 )
...
* chore(core): cleanup `getNodes` usage from Pane
* chore(core): cleanup deprecation notices
2024-07-09 00:42:51 +02:00
Braks
266f8744ad
chore(core): cleanup pane ( #1507 )
...
* chore(core): cleanup pane
* chore(core): cleanup actions
2024-07-01 09:44:55 +02:00
Braks
e57f22c185
fix(core): correct pane pointer evt handlers ( #1505 )
2024-07-01 09:44:55 +02:00
Braks
a52ac6e90e
fix(core): remove v-memo from edge renderer ( #1506 )
...
* fix(core): remove v-memo from edge renderer
* chore(changeset): add
2024-07-01 09:44:55 +02:00
braks
4effbb0008
refactor(core): use pointer evts in pane and prevent cancel of selection
2024-07-01 09:44:55 +02:00
Braks
4fe1a7b541
refactor(core): add overloads to useVueFlow ( #1481 )
...
* refactor(core): add overloads to `useVueFlow`
* chore(changeset): add
* chore(core): cleanup
2024-06-18 12:29:29 +02:00
Braks
d658c1d357
refactor(core): replace arr reduce methods ( #1467 )
...
* refactor(core): replace arr reduce methods
* chore(core): cleanup
2024-06-13 00:04:51 +02:00
braks
19df6ca57a
fix(core): event type
2024-06-13 00:04:51 +02:00
Braks
ed2e5744fd
fix(core): hide graph until initial fitview is done ( #1459 )
...
* fix(core): hide graph until initial fitview is done
* chore(changeset): add
* fix(core): wait for fit view to finish
2024-06-13 00:04:51 +02:00
braks
40f2421dc9
chore(core): add missing container class name
2024-06-06 10:45:38 +02:00
braks
25bb585220
chore(core): cleanup
2024-06-06 10:45:38 +02:00
braks
faf67c2b55
fix(core): use computed edge ref
2024-06-06 10:45:38 +02:00
Braks
876b71dc19
refactor(core): use node/edge id as only dependency for nodes/edges list ( #1447 )
...
* refactor(core): use node id to (re-)render nodes
* refactor(core): use edge id to (re-)render nodes
* chore(changeset): add
* chore(core): cleanup
* chore(core): cast cmp as any
2024-06-06 10:45:38 +02:00
Braks
1b5e14a5b8
fix(core): disable zoom on mobile when zoomToPinch is false ( #1449 )
...
* fix(core): disable zoom on mobile when zoomToPinch is false
* chore(changeset): add
2024-06-06 10:45:38 +02:00
braks
cc0b8b69a3
refactor(core): remove hidden check from getNodes & getEdges
2024-06-06 10:45:38 +02:00
braks
ea45545835
refactor(core): use all nodes in node renderer
2024-06-06 10:45:38 +02:00
braks
5d3f87fd56
refactor(core): use vue-flow__marker on marker defs el
2024-06-06 10:45:38 +02:00
braks
8a8c8f50bf
feat(core): add missing styles warning
2024-05-28 19:18:23 +02:00
braks
7f51faee45
fix(core): allow wheel to bubble if not used by vf
2024-05-12 18:15:07 +02:00
braks
b0f1bf0b85
fix(core): add options to useKeyPress
2024-04-29 20:56:09 +02:00
braks
ffb649ecbd
fix(core): allow pinch-zoom if preventScrolling is disabled
2024-04-29 20:56:09 +02:00
braks
f858d13909
refactor(core): remove reactivity transform
2024-03-24 13:31:22 +01:00
braks
e5a84656ad
refactor(core): replace vueuse imports with vue
2024-02-21 23:27:01 +01:00
braks
ffdea45af4
refactor(core): use useNodesInitialized to emit nodesInitialized
2024-02-15 17:46:21 +01:00
braks
cc9f4fb244
refactor(core): pass renderers to viewport cmp as slots
2024-02-05 07:51:12 +01:00
braks
584782bcc6
refactor(core): call nodes initialized whenever areNodesInitialized is true
2024-02-05 07:51:12 +01:00
braks
557a679e89
chore(core): cleanup vueflow cmp
2024-02-05 07:51:12 +01:00
braks
c4b4a04aa0
perf(core): replace Array.forEach loops
2024-02-05 07:51:12 +01:00
braks
f09b7d934b
refactor(core): move fitViewOnInit to node dimensions update
2024-02-05 07:51:12 +01:00
braks
97f4a17f83
refactor(core): remove unnecessary keys
2024-02-05 07:51:12 +01:00
braks
e24f436fc5
chore(core): cleanup type issues
2024-01-29 21:56:44 +01:00
braks
e0a48f0552
chore(core): cleanup transform cmp
2024-01-29 21:56:44 +01:00
braks
a5091b9b0c
refactor(core,viewport): use useResizeHandler composable
2024-01-29 21:56:44 +01:00
braks
b65f43c5d8
refactor(core): remove suspension
2024-01-29 21:56:44 +01:00
braks
ce229e547f
refactor(core,viewport): suspens transformation pane
2024-01-29 21:56:44 +01:00
braks
9e51070144
fix(core,viewport): watch shouldPanOnScroll & shouldPanOnDrag
2024-01-21 17:02:19 +01:00
braks
e7fb6813cd
fix(core,viewport): allow panning on scroll when selection is active
2024-01-21 14:35:35 +01:00
braks
458b5d42ba
fix(core): remove ts-transform-paths and use relative paths
2023-12-12 23:36:33 +01:00