Braks
a604dd8ab1
refactor: replace useStore with useVueFlow
...
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com >
2021-12-20 19:29:52 +01:00
Braks
fd71e1e16e
update: Add names to components
...
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com >
2021-11-21 16:54:59 +01:00
Braks
3e24a3585a
update: mini map to accept node slot instead of "nodes" slot
...
* some type updates
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com >
2021-11-18 18:17:00 +01:00
Braks
a493168daf
feat: Add useVueFlow composable
...
* Allows for use of the vue flow instance without having to listen to the onLoad event
* fix usekeypress export
* Add types for controls events
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com >
2021-11-18 18:04:50 +01:00
Braks
812a7da2fe
fix: move slots outside of zoom pane
...
* avoids zoom gesture events bubbling to zoom pane and causing elements over flow to trigger zoom when they shouldn't
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com >
2021-11-18 03:06:21 +01:00
Braks
10215b4631
update: create vue.d.ts files
...
* add vue-tsc to emit d.ts files from vue components
* use absolute paths in components
* avoids conflicts with ts custom paths in vue-tsc generated vue.d.ts files
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com >
2021-11-17 01:39:50 +01:00
Braks
aaf5f608f5
feat: add path alias for src
...
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com >
2021-11-06 09:38:02 +01:00
Braks
61779638ac
update(dist): Remove rollup and use vite to build lib
...
* Remove custom tsconfig paths to avoid resolving issues on published package
2021-11-06 08:54:35 +01:00
Braks
ca2901bc01
fix: zoom pan helper not being initialized timely
2021-10-21 13:46:15 +02:00
Braks
77d2e01fc0
update: types
...
* Add elements to flowoptions type
* add window interface to custom shims
2021-10-21 00:24:59 +02:00
Braks
2bfecf7148
update: change name to vue flow
...
* Add gif to readme
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com >
2021-10-20 22:39:54 +02:00
Braks
b2b1fe822f
feat: add useStore and useHooks composables that provide default store/hooks
2021-10-20 22:39:54 +02:00
Braks
6cfe5f6d43
chore(deps): remove unused deps
...
* update deps
* some ts fixes
2021-10-20 22:39:54 +02:00
Braks
c3fb3cd10a
fix: zoom pan helper
2021-10-20 22:39:54 +02:00
Braks
1853c21353
update: add slots to Background.vue, Controls.vue and MiniMap.vue
2021-10-20 22:39:54 +02:00
Braks
a5ae6a4e48
update(deps): Add unplugin-components
...
fix: Excessive rerender of edge texts
update(script-setup): Update some examples
* Remove more jsx files
2021-10-20 22:39:54 +02:00
Braks
1ff3a8dc9c
update(script-setup): Refactor additional-components
...
* Remove jsx files
fix: ConnectionLine.vue not recalculating properly
2021-10-20 22:39:54 +02:00
Braks
77eac0c12a
chore(lint): Update eslint rules
...
* Remove semi
2021-10-20 22:39:54 +02:00
Braks
1d542aba65
refactor: back to jsx 🥇
2021-08-08 19:28:45 +02:00
Braks
ffd41fb679
refactor: Refactor some jsx files to vue files
...
feat: add global hooks to emulate sort of an event bus between components
* global hooks are not exposed to user but emit events upward from Revue-flow component, just more convenient
2021-08-08 19:28:45 +02:00
Braks
b4fcab4004
fix: inject store instance components
...
chore: update revue-draggable to next tag
2021-07-20 20:01:10 +02:00
Braks
e4f57c79e8
feat: Create examples directory and add some examples
...
* Add svg plugins for vite & rollup
update: more bundle stuff
2021-07-10 23:51:04 +02:00
Braks
881655d483
update: renaming stuff from react to "revue"
2021-07-10 18:33:38 +02:00
Braks
d50d74598b
update: no vue-2 compatability (doesn't work with current build)
...
* README.md
2021-07-10 16:42:39 +02:00
Braks
6f39ae6de8
update: more changes to bundle config...
2021-07-10 12:31:09 +02:00
Braks
082d460e12
update: more changes to bundle config...
2021-07-10 12:21:45 +02:00
Braks
92caccfd6e
update: use vue-demi again to add compatability to vue2
...
* add vite.config.app.ts for demo generation
2021-07-10 11:51:12 +02:00
Braks
59b6af384c
update: remove vue-demi
2021-07-10 00:45:46 +02:00
Braks
99548a0dba
fix: try to deploy as package...
2021-07-09 21:54:05 +02:00
Braks
3a8dde7cbd
bugfix: controls not having correct zoom helper functions
...
* Check if prop event cbs are functions before calling
2021-07-09 18:11:47 +02:00
Braks
4319e2ac49
feat: Implement MiniMap, Background and Controls components
2021-07-09 17:52:21 +02:00