Commit Graph
726 Commits
Author SHA1 Message Date
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
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
braks 5c2f15061e refactor(core): replace array map 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
braks 6bf41079ed feat(core): export PanelPositionType 2024-05-28 19:18:23 +02:00
braks 8a8c8f50bf feat(core): add missing styles warning 2024-05-28 19:18:23 +02:00
braks 96b78ce19d fix(core): prevent auto pan if set to false 2024-05-15 09:00:24 +02:00
braks 7f51faee45 fix(core): allow wheel to bubble if not used by vf 2024-05-12 18:15:07 +02:00
braks 84969ab451 fix(core): prevent delete action if inside input field 2024-04-29 20:56:09 +02:00
braks b0f1bf0b85 fix(core): add options to useKeyPress 2024-04-29 20:56:09 +02:00
braks 464dc582dc fix(core): pass path options to edges 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 590afc87f4 fix(core): set ltr for vue flow wrapper 2024-04-29 20:56:09 +02:00
braks 31c0f82efe chore(core): cleanup 2024-03-24 13:31:22 +01:00
braks 0a9e950077 refactor(core): move storage to separate file 2024-03-24 13:31:22 +01:00
braks 31700221f2 fix(core): store vf instance on vue app for ssr 2024-03-24 13:31:22 +01:00
braks f858d13909 refactor(core): remove reactivity transform 2024-03-24 13:31:22 +01:00
braks 5df365cd63 chore(core,types): cleanup 2024-03-06 22:21:57 +01:00
braks e06d2e6a23 revert(core,types): revert extending events from separate interfaces 2024-03-06 22:21:57 +01:00
braks 75eb364127 chore(core,types): export interfaces 2024-03-06 19:03:28 +01:00
braks 4e50efe8ee fix(core,types): use separate interfaces for node/edge events 2024-03-06 19:03:28 +01:00
braks 3ed91a0055 fix(core): check if dimensions exist in useNodesInitialized 2024-02-28 10:54:59 +01:00
braks a8c09a90da fix(core,edges): use nullish check to fallback to default center 2024-02-28 10:54:59 +01:00
braks ba90a48553 fix(core): remove ref prop from BaseEdge 2024-02-28 10:54:59 +01:00
braks 1184941900 fix(core,composables): correct typing of useNodesData return 2024-02-23 08:47:19 +01:00
braks c48d3c9be3 fix(core): use default cursor and apply drag cursor if node is draggable 2024-02-21 23:27:01 +01:00
braks c7313ca421 chore(core): cleanup 2024-02-21 23:27:01 +01:00
braks 68ba9075e9 feat(core,composables): add type and id to useNodesData 2024-02-21 23:27:01 +01:00
braks f815ef6dd5 fix(core): prevent esc keypress when a11y is disabled 2024-02-21 23:27:01 +01:00
braks e5a84656ad refactor(core): replace vueuse imports with vue 2024-02-21 23:27:01 +01:00
braks e5aaaa6e8c fix(core,edges): correct smoothstep edge pathing 2024-02-15 22:04:22 +01:00
braks 46be1fed5b chore(core): deprecate flow props 2024-02-15 17:46:21 +01:00