Commit Graph
100 Commits
Author SHA1 Message Date
braks 2a6763cfe1 refactor(nodes): prevent crash when checking if input dom node 2022-10-08 23:25:34 +02:00
braks fd8061ddcc tests: small delay when checking removed elements 2022-10-08 23:25:34 +02:00
braks b547a1fb0c tests: rename flow dir to vue-flow 2022-10-08 23:25:34 +02:00
braks a6b6a83eb6 tests: defer checking for selected elements 2022-10-08 23:25:34 +02:00
braks 674fe4f9c9 chore(deps-dev): update deps and resolve peer deps 2022-10-08 23:25:34 +02:00
braks 5bc5f10eae refactor(viewpane): remove useEventListener from user selection 2022-10-08 23:25:34 +02:00
braks 7eb6c5216f tests: cleanup unused imports 2022-10-08 23:25:34 +02:00
braks ff520c8a70 feat(viewpane): support boolean keycode value
# What's changed?

* set `selectionKeyCode` to true, for figma style selection (selection without keypress)
2022-10-08 23:25:34 +02:00
braks 664953b537 tests: update drag test position 2022-10-08 23:25:34 +02:00
braks ca29a08d52 tests: check all nodes/edges for selected class 2022-10-08 23:25:34 +02:00
braks 160173384c tests: correct selected elements calculation 2022-10-08 23:25:34 +02:00
braks 438ad57502 tests: add default type to generated nodes 2022-10-08 23:25:34 +02:00
braks f9cd9051d8 tests: update remove action tests 2022-10-08 23:25:34 +02:00
braks 9168d7bd75 fix(store): remove action not properly removing elements 2022-10-08 23:25:34 +02:00
braks 660fb366f7 chore: update pr template 2022-10-08 01:14:52 +02:00
braks 0c018a5440 chore: update bug report template & config.yml 2022-10-08 01:06:24 +02:00
braks fd07402c78 chore: add issue templates config.yml 2022-10-08 00:26:39 +02:00
braks 62a8750da4 docs: dynamic transition duration 2022-10-07 23:55:21 +02:00
braks 447699cb05 docs: add transition example 2022-10-07 23:49:03 +02:00
Git Cliff 40d59d9d84 chore: update CHANGELOG.md 2022-10-07 20:58:42 +00:00
braks 8fc28f9b9c chore: bump version 2022-10-07 22:58:05 +02:00
braks d7ce835099 chore(test): increase wheel delta 2022-10-07 22:55:38 +02:00
braks fc263a6814 fix(graph): check if element exists in isNode/Edge 2022-10-07 22:55:38 +02:00
braks 9cea1326de feat(edges): add data-type to edge anchors 2022-10-07 22:55:38 +02:00
braks 1526ecd1f1 feat(test): add update edge tests 2022-10-07 22:55:38 +02:00
braks 72dd98b464 fix(tests): zoom action tests to check for containing str 2022-10-07 22:55:38 +02:00
braks f1abfc6ac0 chore: cleanup 2022-10-07 22:55:38 +02:00
braks e429fdf6c2 feat(tests): add connecting nodes test 2022-10-07 22:55:38 +02:00
braks f508e6e571 fix(nodes): undo handle validation wrapping itself 2022-10-07 22:55:38 +02:00
braks 63dae2cd05 feat(tests): add dragging nodes test 2022-10-07 22:55:38 +02:00
braks 6e0c0c7768 refactor(tests): move test files 2022-10-07 22:55:38 +02:00
braks 9fde0bc1af feat(edges): add connection line action tests 2022-10-07 22:55:38 +02:00
braks 3461602c2c feat(edges): add data-id prop to edges 2022-10-07 22:55:38 +02:00
braks fa5b5da740 feat(tests): add update edge test 2022-10-07 22:55:38 +02:00
braks 3770083618 feat(tests): add set min/max zoom action tests 2022-10-07 22:55:38 +02:00
braks e3327ebea3 feat(tests): add remove selected elements action tests 2022-10-07 22:55:38 +02:00
braks c5291e7ab1 chore(tests): update test vite conf 2022-10-07 22:55:38 +02:00
braks 8ee8996be9 chore(tests): update cypress scripts 2022-10-07 22:55:38 +02:00
braks cc4a007254 feat(tests): add selected elements action tests 2022-10-07 22:55:38 +02:00
braks 9f59be7afa feat(tests): add tests for add, find & remove actions 2022-10-07 22:55:38 +02:00
braks e81bea1637 feat(tests): add default command timeout of 1000 2022-10-07 22:55:38 +02:00
braks dc30ef4805 feat(tests): add vue flow mount command 2022-10-07 22:55:38 +02:00
braks 8928eb899b refactor(tests): Upgrade to cypress 10 2022-10-07 22:55:38 +02:00
braks 09476f061b chore(edges): correct edge text ref name 2022-10-07 22:55:38 +02:00
braks 78c8bc7a34 chore(deps-dev): update deps 2022-10-07 22:55:38 +02:00
braks 7a657f141a refactor(edges,store): emit connection events start and end with actions 2022-10-07 22:55:38 +02:00
braks a443d38f12 refactor(edges,store): use connection start handle and remove other props from store 2022-10-07 22:55:38 +02:00
braks b0c168fff7 feat(store): add connection actions to store 2022-10-07 22:55:38 +02:00
braks 1d1447ed10 refactor(nodes): calculate bounds on mount 2022-10-07 22:55:38 +02:00
braks 44a65b3bbb feat(edges,nodes): add useEdge composable 2022-10-07 22:55:38 +02:00
braks 726471c114 refactor(nodes): make handlebounds shallow reactive 2022-10-07 22:55:38 +02:00
braks 9b943df61a feat(store,types): add generics to findNode action 2022-10-07 22:55:38 +02:00
braks 7d992b5ed7 feat(nodes): add nodeRef injection 2022-10-07 22:55:38 +02:00
braks 70871df469 feat(nodes): add useNode composable 2022-10-07 22:55:38 +02:00
braks a29d7c86f0 feat(nodes): add from position to position change event 2022-10-07 22:55:38 +02:00
braks de6220b3b3 fix(viewpane,nodes): move resize observer to mounted hooks 2022-10-07 22:55:38 +02:00
braks fe918c0bd8 docs: use removeEdges in custom edge 2022-10-07 22:55:38 +02:00
braks 78f35d516a docs: fix typo 2022-10-07 22:55:38 +02:00
braks 39d0a1c886 chore(edges): update message 2022-10-07 22:55:38 +02:00
braks d7282cc572 fix(edges): interrupt edge hidden check if orphaned edge found 2022-10-07 22:55:38 +02:00
braks 1ad6073699 fix(edges): use filter to remove orphaned edges 2022-10-07 22:55:38 +02:00
braks 8199a1c921 chore: lint 2022-10-07 22:55:38 +02:00
braks bb7a0ba50a chore: remove log 2022-10-07 22:55:38 +02:00
braks 8c0982a7f3 fix(edges): edge-renderer to update on edge updates 2022-10-07 22:55:38 +02:00
braks f0f24cee5c chore: cleanup 2022-10-07 22:55:38 +02:00
braks a840a5cf58 chore: use enum in Marker.vue 2022-10-07 22:55:38 +02:00
braks 00059aabab chore(nodes): force dimensions update on type change 2022-10-07 22:55:38 +02:00
braks 091c3dff31 refactor(nodes): remove flush timing from drag 2022-10-07 22:55:38 +02:00
braks bf7594fdbb refactor(nodes): remove unnecessary scope 2022-10-07 22:55:38 +02:00
braks a780813fdb refactor(nodes): use single resize observer for nodes 2022-10-07 22:55:38 +02:00
braks 55e44030b3 fix(viewpane): calculate proper dimensions for view el 2022-10-07 22:55:38 +02:00
braks 31b0bcb83a refactor(nodes): cleanup handle calculation logic 2022-10-07 22:55:38 +02:00
braks 70dd73fb3a refactor(nodes): only update position on mount 2022-10-07 22:55:38 +02:00
braks ee56ddb0cf refactor(nodes): use dom matrix to calculate handle bounds zoom 2022-10-07 22:55:38 +02:00
braks a8d0830dcd fix(viewpane): use resize observer to set viewpane dimensions 2022-10-07 22:55:38 +02:00
braks 723a03bca1 chore(nodes): remove unused imports 2022-10-07 22:55:38 +02:00
braks d1188887c9 docs: add blobity opensource license key 2022-09-15 11:24:54 +02:00
Git Cliff 7789d6e006 chore: update CHANGELOG.md 2022-09-14 18:11:34 +00:00
braks 247f248de3 chore: bump version 2022-09-14 20:11:01 +02:00
braks 1171e434ff chore: update pnpm-lock.yaml 2022-09-14 20:10:26 +02:00
braks 87102eb8c2 fix(nodes): align snap grid to 0,0 2022-09-14 20:07:58 +02:00
braks 32a98cd606 fix: use elementFromPoint 2022-09-14 20:07:58 +02:00
Git Cliff 9ea87c878c chore: update CHANGELOG.md 2022-09-12 18:14:38 +00:00
braks f7c18df48a chore: bump version 2022-09-12 20:14:02 +02:00
braks c113d3bd15 feat(edges): updated smoothstep edge routing 2022-09-12 20:08:49 +02:00
braks 018d711fc6 fix(nodes): skip applying node extent on mount 2022-09-12 20:08:49 +02:00
braks 59bd0090cd chore(resize-rotate): update demo 2022-08-31 11:33:36 +02:00
braks c222bb9de5 feat(resize-rotate): save frame data of node 2022-08-31 11:12:51 +02:00
braks 3f4e071bbf chore(resize-rotate): bump version 2022-08-30 22:22:49 +02:00
Git Cliff 0bf2243d97 chore: update CHANGELOG.md 2022-08-30 20:18:30 +00:00
braks ff51560427 chore: bump version 2022-08-30 22:17:56 +02:00
braks 2beb48d4a5 chore(store): pass vueflow id to scope on each call 2022-08-30 22:16:10 +02:00
braks bd4eb7cc54 feat(edges): hide edge while updating 2022-08-30 22:16:10 +02:00
braks 058fb5ae10 fix(nodes): apply initial node extent 2022-08-30 22:16:10 +02:00
braks 955f683d8b chore: re-apply node extent only if flow is ready 2022-08-30 22:16:10 +02:00
braks be2bcf5a87 refactor: allow ref to be passed to useKeyPress 2022-08-30 22:16:10 +02:00
braks a110cdcd03 chore: cleanup unused vars and remove setState usage 2022-08-30 22:16:10 +02:00
braks 487c287090 fix(nodes): add missing updateNodeInternals event 2022-08-30 22:16:10 +02:00
braks e8a6dc37af fix(nodes): apply global node extent when changed 2022-08-30 22:16:10 +02:00
braks 5f5dd49ed6 refactor(resize-rotate): set fixed styles on resize rotate node 2022-08-30 22:16:10 +02:00