Commit Graph
43 Commits
Author SHA1 Message Date
braks 2f0b00f854 feat(core,handle): expose onClick and onPointerDown handlers 2024-01-21 14:35:35 +01:00
braks ffcc20a263 feat(core,handle): expose handler functions 2024-01-21 14:35:35 +01:00
braks 6162389cc2 revert(core): cleanup imports from vueuse/core that exist in vue
This reverts commit 7cc798ad
2023-11-08 16:22:15 +01:00
braks 75cb0c9b1e chore(core): cleanup 2023-11-08 08:27:12 +01:00
braks 7cc798adae chore(core): cleanup imports from vueuse/core that exist in vue 2023-11-08 08:27:12 +01:00
braks 88cfd402ed perf(core): cleanup computed vars 2023-10-30 13:36:07 +01:00
braks 3b175a553e refactor(core): remove primtive typeguards 2023-10-30 13:36:07 +01:00
braks 870bc4f74a chore(core): cleanup 2023-10-06 18:00:01 +02:00
braks ce1647ad1e feat(core): cleanup handle bounds from node when handle is unmounted 2023-10-06 18:00:01 +02:00
braks 3e446fab68 feat(core): allow passing a number as connectable prop 2023-10-06 18:00:01 +02:00
braks 435cb9b687 refactor(core): change nodeEl and edgeEl type to allow ref(null) 2023-07-10 19:20:26 +02:00
braks e3e6a03359 refactor(core): add explicit imports and remove auto-imports
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-05-25 20:48:26 +02:00
braks 5a86c7cf1d chore: update deps
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-05-25 20:48:26 +02:00
braks 8fa6ad5076 chore(core): cleanup handle cmp 2023-05-25 20:48:26 +02:00
braks 5560949ed1 chore: lint files
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-04-11 20:28:02 +02:00
braks d659d48279 fix(core): set handle connectable undefined as default
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-04-07 19:48:22 +02:00
braks c459653015 fix(core): use connection click start handle
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-04-03 11:13:53 +02:00
braks 8229ee8748 fix(core): remove duplicate event binding
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-04-03 11:13:53 +02:00
braks 3222e979ff fix(core): use fallback for connectable start and end
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-04-03 11:13:53 +02:00
braks 4efc787067 refactor(core): add connection start and end handles to store state
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-04-03 08:53:33 +02:00
braks b1c88b3792 chore(core): cleanup handle
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-04-03 08:53:33 +02:00
braks 1d3908db62 feat(core): add connectableStart & connectableEnd props
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-04-03 08:53:33 +02:00
braks 44d1a4e3df fix(core): connection line pos not matching edge pos
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-04-01 00:35:45 +02:00
braks d0ac0b66ea chore(core): remove reactivity transform from handle
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-04-01 00:35:45 +02:00
Yann CandBraks 330a3b7a4f fix: make @wheel and @touchstart event passive 2023-03-29 11:26:49 +02:00
Alex Van LiewandBraks b19b9a871b fix: add compatConfig to all components 2023-02-15 10:19:26 +01:00
braks e74a20d923 feat(core): implement connection radius
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-02-01 22:57:05 +01:00
braks b411c1e411 fix(core): await node init to add handle bounds in Handle
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2022-12-14 12:44:36 +01:00
braks 35d6f309b7 chore: cleanup
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2022-12-13 15:49:20 +01:00
braks 3fc1b39ce2 chore(core): cleanup unused vars in Handle.vue
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2022-12-13 15:49:20 +01:00
braks 47432a8238 fix(core): use connectable prop or global connectable in Handle
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2022-12-12 11:15:54 +01:00
braks b3fdbd884a feat(core): support touch for connection creation 2022-11-17 20:05:02 +01:00
braks 650e7527ae chore(core): remove unnecessary import paths 2022-11-06 19:20:39 +01:00
braks d966ff27aa chore(deps-dev): update dev dependencies 2022-11-06 19:20:39 +01:00
braks 49b44e45a3 fix(core,nodes): skip connectable for handles unrelated to connected edges 2022-11-04 16:20:03 +01:00
braks 84adeb7e39 fix(core,nodes): always set a handle id 2022-11-04 16:20:03 +01:00
braks 71eacd7035 chore(core): cleanup var 2022-10-13 23:23:43 +02:00
braks a7845c6032 fix(handles): only check for matching handle id if an id exists 2022-10-13 23:23:43 +02:00
braks 31f590b893 chore(core): lint 2022-10-10 21:33:44 +02:00
braks 2684272308 refactor(core): simplify useHandle 2022-10-10 21:33:44 +02:00
braks 283846c196 refactor(nodes): use HandleConnectable type for nodes connectable prop 2022-10-10 21:33:44 +02:00
braks 624438a0ea feat(handles): allow setting connectable to single for single connection handles 2022-10-10 21:33:44 +02:00
braks 082050b164 refactor(core): rename core pkg dir to core 2022-10-10 21:33:44 +02:00