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