1493 Commits

Author SHA1 Message Date
Braks
09e222124c refactor(core): calculate correct handle pos in handle lookup (#1494)
* refactor(core): use `getHandlePosition` to calculate handle pos

* chore(changeset): add
2024-07-01 09:44:55 +02:00
braks
e435485b77 feat(core): make useKeyPress public and export it 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
ea75f8aac0 refactor(core): allow passing target to useKeyPress 2024-07-01 09:44:55 +02:00
Braks
cf32d59074 refactor(core): replace until watcher with onMounted in handle cmp (#1488) 2024-07-01 09:44:55 +02:00
github-actions[bot]
e2dec5c866 chore: bump versions 2024-06-18 12:49:20 +02:00
Braks
e2ce2053e4 fix(core): correct id access in useVueFlow (#1483)
* fix(core): correct id access in `useVueFlow`

* chore(changeset): add
2024-06-18 12:49:20 +02:00
github-actions[bot]
fdc656af9d chore: bump versions 2024-06-18 12:29:29 +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
9b4e3b2656 feat(core): add EdgePathParams type to edge utils (#1479)
* feat(core): add `EdgePathParams` type to edge utils

* chore(changeset): add

* chore(core): cleanup jsdocs
2024-06-18 12:29:29 +02:00
Braks
cff55c8ebf refactor(core): use empty arr when updating all internals (#1476)
* refactor(core): use empty arr when updating all internals

* chore(changeset): add
2024-06-18 12:29:29 +02:00
github-actions[bot]
09a44b0424 chore: bump versions 2024-06-13 00:04:51 +02:00
Braks
850f54aebd chore(core): cleanup unused event arg (#1475)
chore(core): cleanup unused `event` arg
2024-06-13 00:04:51 +02:00
Braks
d429394f42 refactor(core): cleanup connection line component (#1470) 2024-06-13 00:04:51 +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
70b39cc78e refactor(core): deprecate useVueFlow options arg (#1465)
refactor(core): deprecate vueflow options
2024-06-13 00:04:51 +02:00
Braks
798faf1be4 refactor(core): remove connectedEdges from node mouse events (#1464)
* refactor(core): remove `connectedEdges` from node mouse events

* chore(changeset): add
2024-06-13 00:04:51 +02:00
Braks
0825101ebe refactor(core): remove node intersections arg from drag events (#1460)
* refactor(core): remove node intersections arg from drag events

* chore(changeset): add

* docs(examples): update intersection example
2024-06-13 00:04:51 +02:00
Braks
a9ccd61eec feat(core): add useEdgesData composable (#1462)
* feat(core): add `useEdgesData` composable

* chore(changeset): add

* chore(core): add export
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
0c5dfddc47 refactor(core): remove initialized from graph-nodes (#1457)
* refactor(core): remove `initialized` from graph-nodes

* chore(changeset): add

* refactor(node-resizer): replace node initialized check

* chore(changeset): add
2024-06-13 00:04:51 +02:00
braks
9a7e4ac952 refactor(core): use for loop 2024-06-13 00:04:51 +02:00
Braks
cd5103e525 refactor(core): reduce node bounds calculation (#1453)
* refactor(core): reduce node bounds calculation

* chore(changeset): add

* chore(core): cleanup
2024-06-13 00:04:51 +02:00
Braks
49dc8ae2a1 feat(core): add updateEdgeData action (#1452)
* feat(core): add `updateEdgeData` action

* chore(changeset): add
2024-06-13 00:04:51 +02:00
github-actions[bot]
dd6aff24cb chore: bump versions 2024-06-06 10:45:38 +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
a592fbd78a refactor(core): use node lookup map internally (#1450)
* refactor(core): use node lookup map internally

* chore(changeset): add
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
8bc1c99252 fix(core): disable drag when using multi-touch (#1448)
* fix(core): disable drag when using multi-touch

* chore(changeset): add
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
5e9db1c87f refactor(core): render null if edge is hidden 2024-06-06 10:45:38 +02:00
braks
3498399ef7 refactor(core): render null if node is hidden 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
660831cc37 refactor(core): check if starting handle exists 2024-06-06 10:45:38 +02:00
braks
c822f9c632 refactor(core,handle): remove auto-generated handle ids 2024-06-06 10:45:38 +02:00
braks
5703647290 chore(core): add todos for parentId 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
1bb7a19e1b feat(core): add edge id to handle connections 2024-06-06 10:45:38 +02:00
github-actions[bot]
c91b30fc1e chore: bump versions 2024-05-31 16:09:34 +02:00
braks
5c2f15061e refactor(core): replace array map 2024-05-31 16:09:34 +02:00
Gisli Svavarsson
bbd44bbb10 feat(minimap): add maskBorderRadius prop 2024-05-31 16:09:34 +02:00
braks
1a87312434 chore(core): cleanup 2024-05-31 16:09:34 +02:00
braks
02f3ca2ba0 refactor(core): replace array fns 2024-05-31 16:09:34 +02:00
braks
cd362799e4 fix(core): use separate prevConnections map 2024-05-31 16:09:34 +02:00
github-actions[bot]
2443752e82 chore: bump versions 2024-05-28 19:18:23 +02:00
braks
1c4e208627 fix(controls): allow PanelPositionType as position value 2024-05-28 19:18:23 +02:00