Commit Graph
1245 Commits
Author SHA1 Message Date
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 ee8748e936 chore(core): add missing generic for output node 2024-02-15 17:46:21 +01:00
braks c8c77a2967 refactor(core): deprecate getters 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 d288a9b842 refactor(background): deprecate bgcolor prop 2024-02-15 17:46:21 +01:00
braks 6c638b8e27 refactor(core): use data obj for labels in default nodes 2024-02-15 17:46:21 +01:00
github-actions[bot]andBraks fd4f0c8183 chore: bump versions 2024-02-05 07:51:12 +01:00
braks 308338fa79 refactor(core): remove exports from barrel files 2024-02-05 07:51:12 +01:00
braks 259514a229 refactor(core): cast zIndex to ref 2024-02-05 07:51:12 +01:00
braks cc9f4fb244 refactor(core): pass renderers to viewport cmp as slots 2024-02-05 07:51:12 +01:00
braks daff22f3cf chore(core): deprecate some node props 2024-02-05 07:51:12 +01:00
braks f36fa770c2 feat(core,error): add error args to err 2024-02-05 07:51:12 +01:00
braks aaf106938f fix(core): avoid adding invalid edges (like null or undefined) 2024-02-05 07:51:12 +01:00
braks 04658b2c0d fix(core): avoid options passed to useVueFlow overwriting default state 2024-02-05 07:51:12 +01:00
braks 983971f576 fix(core): use existing node/edge obj for assignment 2024-02-05 07:51:12 +01:00
braks cedb1f51e7 chore(core): cleanup EdgeWrapper 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 584782bcc6 refactor(core): call nodes initialized whenever areNodesInitialized is true 2024-02-05 07:51:12 +01:00
braks 417a301b42 refactor(core): add missing viewport helper functions to actions 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 4bbc14b882 fix(core): update node dimensions on next tick 2024-02-05 07:51:12 +01:00
braks eca0447d3b chore(core): cleanup 2024-02-05 07:51:12 +01:00
braks fe1d801d5b feat(core): add updateNode & updateNodeData actions to store 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 557a679e89 chore(core): cleanup vueflow cmp 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 8db9b1a997 chore(core): deprecate event properties of nodes and edges 2024-02-05 07:51:12 +01:00
braks 72cc175142 refactor(core): omit events when calling toObject 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 84c2f6df99 refactor(core): find handle by id regardless of num of handles 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
github-actions[bot]andBraks b13d53d609 chore: bump versions 2024-01-30 08:56:46 +01:00
braks b7cc917a09 fix(core,utils): check if values are numeric in isRect 2024-01-30 08:56:46 +01:00
github-actions[bot]andBraks 11a16da158 chore: bump versions 2024-01-29 21:56:44 +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 5e8001f7b0 chore(core,viewport): cleanup viewport helper 2024-01-29 21:56:44 +01:00