Commit Graph
66 Commits
Author SHA1 Message Date
braks e5a84656ad refactor(core): replace vueuse imports with vue 2024-02-21 23:27:01 +01:00
braks cc9f4fb244 refactor(core): pass renderers to viewport cmp as slots 2024-02-05 07:51:12 +01:00
braks f09b7d934b refactor(core): move fitViewOnInit to node dimensions update 2024-02-05 07:51:12 +01:00
braks 97f4a17f83 refactor(core): remove unnecessary keys 2024-02-05 07:51:12 +01:00
braks e24f436fc5 chore(core): cleanup type issues 2024-01-29 21:56:44 +01:00
braks e0a48f0552 chore(core): cleanup transform cmp 2024-01-29 21:56:44 +01:00
braks a5091b9b0c refactor(core,viewport): use useResizeHandler composable 2024-01-29 21:56:44 +01:00
braks b65f43c5d8 refactor(core): remove suspension 2024-01-29 21:56:44 +01:00
braks ce229e547f refactor(core,viewport): suspens transformation pane 2024-01-29 21:56:44 +01:00
braks 9e51070144 fix(core,viewport): watch shouldPanOnScroll & shouldPanOnDrag 2024-01-21 17:02:19 +01:00
braks e7fb6813cd fix(core,viewport): allow panning on scroll when selection is active 2024-01-21 14:35:35 +01:00
braks cc89e995fb fix(core): respect zoom key when hovering nopan elements 2023-11-09 14:19:51 +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 7cc798adae chore(core): cleanup imports from vueuse/core that exist in vue 2023-11-08 08:27:12 +01:00
braks 70ae0749b7 chore(core): cleanup slots 2023-11-08 08:27:12 +01:00
braks ffceea93a8 fix(core): allow pan on drag when pan key is activated 2023-10-30 20:30:56 +01:00
braks 049b1da0c6 fix(core): allow panning when panKey is pressed 2023-10-30 13:36:07 +01:00
braks 2a407f59e3 refactor(core): add stub for addEventListener in useWindow 2023-10-30 13:36:07 +01:00
braks 15c3fd5dd7 fix(core): use correct filter for panOnScroll class 2023-10-30 13:36:07 +01:00
braks b0ffe42007 chore(core): update d3 type deps 2023-10-07 11:39:48 +02:00
braks 8716a6e6b8 fix(core): disable panning when panOnDrag is false 2023-10-06 18:00:01 +02:00
braks e36980337b fix(core): respect pan on scroll class name 2023-10-06 18:00:01 +02:00
braks 86957a0c71 fix(core): horizontal scroll on windows 2023-08-21 17:44:20 +02:00
braks 67704e5a8f fix(core): use os specific key defaults 2023-08-21 17:44:20 +02:00
braks 4d5bbab506 fix(core): use noop viewport operations instead of waiting for promise 2023-07-19 19:12:29 +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 128b968168 chore: lint 2023-05-25 20:48:26 +02:00
braks 6b88c97a22 chore: lint
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-05-11 15:33:42 +02:00
braks e5591ee1df refactor(core): remove reactivity transform from viewport component
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-05-10 14:04:53 +02:00
braks 85dcbf4b46 fix(core): pass selectionKeyCode ref to useKeyPress
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-05-05 11:02:58 +02:00
braks 554ebebd13 refactor(coe): remove unnecessary computed var
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-04-11 20:28:02 +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 22accaed0d fix(core): hide transformation pane to avoid flickering of graph
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-04-02 20:52:57 +02:00
braks 8c3f54ec28 feat(core): add onError hook
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-03-23 15:58:30 +01:00
braks e7c39b065d fix(core): non-passive wheel event listener violation
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-03-22 20:09:05 +01:00
braks c5fee5c4f5 fix(core): wait until nodes are initialized
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-03-02 08:47:38 +01:00
braks e3e35109f1 refactor(core): cleanup node styles
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-03-02 08:47:38 +01:00
braks f2af8188e5 fix(core): wait until viewport helper is initialized
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-02-24 20:07:13 +01:00
braks dfce24a5fa refactor(core): use noop viewport helper when viewport is not ready
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-02-22 20:20:11 +01:00
braks d2c6b592f5 refactor(core): remove waiting for dimensions in zoom pan helper
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-02-22 20:20:11 +01:00
braks 74f2596f80 chore(core): cleanup unused watcher
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-02-22 20:20:11 +01:00
braks 0d9bcf4b06 chore(core): cleanup initial render
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-02-22 20:20:11 +01:00
braks 226caebd4a fix(core): hide graph until nodes are ready
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-02-22 20:20:11 +01:00
Alex Van LiewandBraks b19b9a871b fix: add compatConfig to all components 2023-02-15 10:19:26 +01:00
braks bb2c4f449a chore(core): cleanup and replace const with function
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-02-07 12:27:41 +01:00
braks 77de369a3f chore(core): use default values when defaultViewport values are missing
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-02-06 22:15:35 +01:00
braks 522efd4c94 refactor(core): throw warning if dimensions of viewport are 0
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-02-01 23:32:45 +01:00
braks 7fd2782d00 fix(core): dont trigger ctx menu when dragging with right mouse btn
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-01-18 14:00:47 +01:00
braks 726ee224b9 fix(core): place default slot outside of viewport el
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-01-12 22:40:59 +01:00
braks c3e1741a4b refactor(core): remove selectionOnDrag prop and use selectionKeyCode to trigger selection
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2022-12-25 17:38:56 +01:00