Commit Graph
1618 Commits
Author SHA1 Message Date
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