Commit Graph
691 Commits
Author SHA1 Message Date
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
braks 5094e330b8 fix(core): wrap marker urls with quotes 2024-02-15 17:46:21 +01:00
braks 3a0dc0fff6 feat(core,composables): add edgeId to useHandleConnections return 2024-02-15 17:46:21 +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 bbf16e385c chore(core): remove experimental from state 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 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 6c638b8e27 refactor(core): use data obj for labels in default nodes 2024-02-15 17:46:21 +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