braks
54eef97bde
fix(edges): create new effect scope when pane ready is called
2022-07-27 22:49:00 +02:00
braks
d62c3304e3
fix(store): only run scope dispose on parent caller
...
# What's changed?
* Only run scope disposal on parent scopes
* the uppermost `useVueFlow` call
* Do not reset store on flow unmount
* Fixes issue that flow is broken after a `v-if` toggle
2022-07-27 22:49:00 +02:00
braks
73bf4db829
feat(store): add $destroy action
...
# What's changed?
* add action to remove store from global storage (thus destroying it)
2022-07-27 22:49:00 +02:00
braks
98ff31154c
revert(types): use state viewport zoom to calculate handlebounds
2022-07-27 22:49:00 +02:00
braks
31f0dbafa7
revert(types): explicitly bind emits
2022-07-27 22:49:00 +02:00
braks
953155dea3
feat: bind pane mouse events
2022-07-27 22:49:00 +02:00
braks
8ea21303bd
feat(viewpane): add viewpane mouseevents
2022-07-27 22:49:00 +02:00
braks
f2321f2626
feat(store): add findNode & findEdge actions
...
# What's changed?
* deprecate computed getters `getNode` & `getEdge`
* add actions instead
2022-07-27 22:49:00 +02:00
braks
49d51ccf10
chore: update pnpm-lock.yaml
2022-07-27 22:49:00 +02:00
braks
9a8459c8eb
refactor: import Emits type
2022-07-27 22:49:00 +02:00
braks
3d22b879a3
chore: update vueuse
2022-07-27 22:49:00 +02:00
braks
cff5e05ac9
chore(store): remove unused prop in store
2022-07-27 22:49:00 +02:00
braks
12108d092c
chore: update auto-imports.d.ts
2022-07-27 22:49:00 +02:00
braks
4e7f4b5cf8
chore: symlink deps in tsconfig
2022-07-27 22:49:00 +02:00
braks
b0fc5ada92
fix(store): remove generic from node getter
...
# What's changed?
* generic causes type problem in d.ts file
2022-07-27 22:49:00 +02:00
braks
376f91e264
feat: set vueflow & viewport elements in store
2022-07-27 22:49:00 +02:00
braks
27fa623543
chore(gh): unfreeze lockfile
...
# What's changed?
* until lockfile issue is sorted, use `no-frozen-lockfile`
2022-07-27 22:49:00 +02:00
braks
93a9a99a85
fix: prevent falsy values from stopping prop watcher
2022-07-27 22:49:00 +02:00
braks
97d89bf4c7
feat: expose flow store and element ref
...
# What's changed?
* add define expose to expose vue flow store instance
2022-07-27 22:49:00 +02:00
braks
ce77bc5d64
chore(deps): upgrade dependencies
2022-07-27 22:49:00 +02:00
Git Cliff
47164f01b8
chore: update CHANGELOG.md
2022-07-22 15:28:57 +00:00
braks
600922afd9
chore: bump version
2022-07-22 17:28:19 +02:00
braks
c16cd464b3
chore(deps): upgrade dependencies
2022-07-22 17:23:43 +02:00
braks
78f176cf46
chore: update pnpm-lock.yaml
2022-07-22 17:01:41 +02:00
braks
d96e944a49
fix(types): use correct edge event types
...
# What's changed?
* instead of `MouseEvent`, emit `EdgeMouseEvent` type
* fix examples
2022-07-22 16:56:10 +02:00
Git Cliff
3537e6b022
chore: update CHANGELOG.md
2022-07-18 19:19:44 +00:00
braks
7596c4d325
chore: bump version
2022-07-18 21:19:06 +02:00
braks
9bca73d762
fix(nodes): remove child nodes when parent gets removed
2022-07-18 21:09:36 +02:00
braks
7d66094b06
fix(nodes): check parent dimensions before extending
2022-07-18 21:09:36 +02:00
Git Cliff
480a48744d
chore: update CHANGELOG.md
2022-07-16 12:40:58 +00:00
braks
b696eb04f9
chore: bump version
2022-07-16 14:40:18 +02:00
braks
4b83ae0325
fix(edges): pass auto-connector result as new edge params
2022-07-16 14:37:08 +02:00
Braks
b7428e9512
fix(handles): correctly calculate handle pos by using viewport zoom
2022-07-16 14:37:08 +02:00
Braks
c0c72f1f6d
chore(zoom): fix typing
2022-07-16 14:37:08 +02:00
Braks
45163f31c9
refactor(zoom): don't interrupt while zoom/pan is active
2022-07-16 14:37:08 +02:00
Braks
95afba3e17
fix(edges): auto-connector always triggered even when not set
2022-07-16 14:37:08 +02:00
Clemens Hopfer and Braks
1abd18dc12
fix(graph): getIncomers always returning itself
2022-07-16 14:37:08 +02:00
Braks
1f035fbc5e
docs: update pinia example to use latest version of vue flow
2022-07-14 10:57:16 +02:00
bcakmakoglu
b11feaf2ce
docs: add seo plugins
2022-07-05 21:53:30 +02:00
bcakmakoglu
9c171c0ff8
chore(docs): update meta title & description
2022-07-05 21:53:30 +02:00
bcakmakoglu
d6df271c2d
chore(docs): update tsconfig.json
2022-07-05 21:53:30 +02:00
bcakmakoglu
5a89d0e947
chore: add .eslintignore file
2022-07-05 21:53:30 +02:00
Git Cliff
1d9e7ec07d
chore: update CHANGELOG.md
2022-06-26 16:29:14 +00:00
bcakmakoglu
32e7ee99b2
chore: bump version
2022-06-26 18:28:35 +02:00
bcakmakoglu
ae5d5b4637
chore(nodes): check if node ref exists before updating dimensions
2022-06-26 18:10:59 +02:00
bcakmakoglu
0c5473ae14
chore(docs): fix typo
2022-06-26 18:10:59 +02:00
bcakmakoglu
b2834b95c8
docs: documentation for new connectionLineOptions prop
2022-06-26 18:10:59 +02:00
bcakmakoglu
1578d404ee
feat(edges): add connectionLineOptions prop
...
# What's changed?
* allow defining markers on connection lines
* deprecate `connectionLineType`
* deprecate `connectionLineStyle`
2022-06-26 18:10:59 +02:00
bcakmakoglu
e02297875d
chore(docs): set transition mode
2022-06-26 18:10:59 +02:00
bcakmakoglu
48dc16cf73
chore(docs): correct tooltip position
2022-06-26 18:10:59 +02:00