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
1bb7a19e1b
feat(core): add edge id to handle connections
2024-06-06 10:45:38 +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
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
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
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
5df365cd63
chore(core,types): cleanup
2024-03-06 22:21:57 +01:00
braks
3ed91a0055
fix(core): check if dimensions exist in useNodesInitialized
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
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
e5a84656ad
refactor(core): replace vueuse imports with vue
2024-02-21 23:27:01 +01:00
braks
0139e6eb0f
chore(core): cleanup
2024-02-15 17:46:21 +01:00
braks
dda5b58211
refactor(core): use all nodes for handle lookup
2024-02-15 17:46:21 +01:00
braks
300c742352
refactor(core): rename useViewport to useViewportHelper
2024-02-15 17:46:21 +01:00
braks
ffdea45af4
refactor(core): use useNodesInitialized to emit nodesInitialized
2024-02-15 17:46:21 +01:00
braks
fbb3f63134
chore(core): update composable jsdocs
2024-02-15 17:46:21 +01:00
braks
f2165afe6f
feat(core,composables): add useNodesInitialized composable
2024-02-15 17:46:21 +01:00
braks
04658b2c0d
fix(core): avoid options passed to useVueFlow overwriting default state
2024-02-05 07:51:12 +01:00
braks
0544fbdb6a
refactor(core): call fitViewOnInit when node dimensions are initially set
2024-02-05 07:51:12 +01:00
braks
2ca5bd82a4
chore(core,composables): update jsdocs
2024-02-05 07:51:12 +01:00
braks
7161e9ec90
refactor(core): allow null instead of undefined as id for useHandleConnections
2024-02-05 07:51:12 +01:00
braks
f4fb4d8036
refactor(core,composables): allow passing MaybeRefOrGetter to useNodesData
2024-02-05 07:51:12 +01:00
braks
533e37e624
chore(core,composables): cleanup useNodesData types
2024-02-05 07:51:12 +01:00
braks
cecf9d4c3b
feat(core,composables): add useNodesData composable
2024-02-05 07:51:12 +01:00
braks
c855dfe454
feat(core): add viewport helper to state
2024-02-05 07:51:12 +01:00
braks
fd84025dd1
feat(core): add init hook
2024-02-05 07:51:12 +01:00
braks
5798cc5578
refactor(core): use useOnInitHandler to emit paneReady event
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
0941e609dd
chore(core): cleanup
2024-02-05 07:51:12 +01:00
braks
064cfd84b3
feat(core,composables): add useHandleConnections composable
2024-02-05 07:51:12 +01:00
braks
a9bd82d28a
chore(core): cleanup
2024-02-05 07:51:12 +01:00
braks
aab31f8296
refactor(core,composables): remove error from useNodeId
2024-02-05 07:51:12 +01:00
braks
d001d802b5
refactor(core,viewport): replace watchEffect with onMounted/onBeforeUnmount
2024-02-05 07:51:12 +01:00
braks
00a1f9d484
feat(core): add useNodeId composable
2024-02-05 07:51:12 +01:00
braks
e24f436fc5
chore(core): cleanup type issues
2024-01-29 21:56:44 +01:00
braks
5e8001f7b0
chore(core,viewport): cleanup viewport helper
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
e427e21c28
chore(core): cleanup
2024-01-29 21:56:44 +01:00
braks
be9e58092a
chore(core): cleanup condition
2024-01-25 08:57:52 +01:00
braks
2b82098fab
fix(core,key-press): check if key or code exists before matching
2024-01-25 08:57:52 +01:00
braks
347715dd11
fix(core,key-filter): return false from bool key filter
2024-01-21 14:35:35 +01:00
braks
1012f2cae9
feat(core): add useConnection composable
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
braks
277979f72c
fix(core): use correct prop value when watcher triggers
2023-11-10 15:19:16 +01:00