bcakmakoglu
3dd3c37fc2
chore: update dependencies
...
# What's changed?
* add `jsx: "preserve"` to tsconfig (necessary in new vue-tsc version)
2022-06-10 15:54:40 +02:00
bcakmakoglu
2efe25c989
chore: bump version
2022-06-07 18:38:59 +02:00
bcakmakoglu
c755208ebe
fix(edges): pass edge markers to wrapper
2022-06-07 18:33:00 +02:00
bcakmakoglu
90af73dcd3
chore: trigger fitViewOnInit after paneReady
2022-06-07 18:33:00 +02:00
bcakmakoglu
5b55d6b0af
chore: wait for paneReady to set zoompan
2022-06-07 18:33:00 +02:00
bcakmakoglu
e8923c8aae
chore(nodes): set dimensions after mount
2022-06-07 18:33:00 +02:00
bcakmakoglu
87f97efd42
refactor(nodes): set resize observer before mount
2022-06-07 18:33:00 +02:00
bcakmakoglu
7dd79f6256
feat(viewpane): defer viewport functions until pane is ready
...
# What's changed?
* Allow vue flow id to be passed to `useZoomPanHelper` and defer viewport functions until pane is ready
* Remove warning for using viewport functions too early
2022-06-07 18:33:00 +02:00
bcakmakoglu
8a570bea8b
fix(viewpane): set viewpane functions on Transform mount
...
# What's changed?
* log warnings when viewpane functions are used before viewpane is ready
2022-06-07 18:33:00 +02:00
bcakmakoglu
c81362da60
chore: remove unnecessary imports
2022-06-07 18:33:00 +02:00
bcakmakoglu
9929278ff0
chore: fix missing imports
2022-06-07 18:33:00 +02:00
bcakmakoglu
5277506936
refactor(vue-flow,viewpane)!: remove FlowInstance type
2022-06-07 18:33:00 +02:00
bcakmakoglu
58783fd4a1
refactor(vue-flow,viewpane): remove instance property and merge into useVueFlow
...
# What's changed?
* Remove the `instance` property from store and merge viewport functions into `useVueFlow`
* Add `getElements` getter
* Rename types
* Deprecate `FlowInstance` type
2022-06-07 18:33:00 +02:00
bcakmakoglu
382a3b67fc
feat(nodes): add effect scope to useDrag utility
2022-06-07 18:33:00 +02:00
bcakmakoglu
f434ab0f79
feat(nodes): allow connected edges to be removed with removeNodes
2022-06-07 18:33:00 +02:00
bcakmakoglu
a86eded793
fix(watcher): triggers recursively when store changes
2022-06-07 18:33:00 +02:00
bcakmakoglu
7276a39251
feat(edges,nodes): add removeNodes and removeEdges utilities to store
2022-06-07 18:33:00 +02:00
bcakmakoglu
425e558e96
chore: bump version
2022-06-03 23:20:34 +02:00
bcakmakoglu
0102ebcd33
fix(nodes): performance issue with getNode
2022-06-03 23:17:03 +02:00
bcakmakoglu
f272bd60d7
chore: bump version
2022-06-03 21:34:51 +02:00
bcakmakoglu
f624c1a2c8
chore: use https for registry link
2022-06-03 21:29:12 +02:00
bcakmakoglu
22f87a8334
chore: add empty test script
2022-06-03 21:27:49 +02:00
bcakmakoglu
586e8bfe41
chore(nodes): use computed pos z for zIndex
2022-06-03 21:21:53 +02:00
bcakmakoglu
2bd15c1710
chore: replace Math.pow with **
2022-06-03 21:21:53 +02:00
bcakmakoglu
0b21708b58
fix(nodes): getNode not returning proper node element
...
# What's changed?
* use `.find` instead of computed index
2022-06-03 21:21:53 +02:00
bcakmakoglu
3672b86df3
chore(resize-rotate-node,pathfinding-edge): update git links
2022-06-01 22:28:04 +02:00
bcakmakoglu
fe77de1a0e
chore(pathfinding-edge): bump version
2022-06-01 22:25:49 +02:00
bcakmakoglu
d6758918e6
chore(pathfinding-edge): remove np
2022-06-01 22:17:23 +02:00
bcakmakoglu
4810483fe6
chore(resize-rotate-node): remove np
2022-06-01 22:16:06 +02:00
bcakmakoglu
2858214e62
chore(resize-rotate-node): bump version
2022-06-01 22:12:05 +02:00
bcakmakoglu
c07069dcd0
refactor: replace yarn with pnpm as package manager
2022-06-01 21:58:03 +02:00
bcakmakoglu
a260f04d79
v0.4.15
2022-06-01 19:12:46 +02:00
bcakmakoglu
ab77231797
chore(deps): update vue-flow
2022-06-01 19:10:30 +02:00
bcakmakoglu
4866e26cd6
feat(resize-rotate-node): show moveable when dragging
2022-06-01 19:10:30 +02:00
bcakmakoglu
4f506b6e56
fix(resize-rotate-node): apply rotation correctly
2022-06-01 19:10:30 +02:00
bcakmakoglu
29439f005b
fix(vue-flow,nodes): use computed pos to calculate relative node pos
2022-06-01 19:10:30 +02:00
bcakmakoglu
30efd62082
fix(vue-flow): unregister apply handlers when applyDefault is false
2022-06-01 19:10:30 +02:00
bcakmakoglu
42ea2de513
fix(vue-flow): set applyDefault regardless of true/false
2022-06-01 19:10:30 +02:00
bcakmakoglu
eef7c49e23
v0.4.14
2022-05-29 09:46:56 +02:00
bcakmakoglu
f32dd24400
chore(deps-dev): update typescript to 4.7.2 and vue-tsc to 0.35.0
2022-05-29 09:45:12 +02:00
bcakmakoglu
ab09a9b786
fix(edges): remove unnecessary filter from updateEdge util
2022-05-29 09:15:09 +02:00
nihiyama
aea3a158f0
fix return of add Edge ( #155 )
2022-05-29 09:15:09 +02:00
bcakmakoglu
d8bae03b8f
fix(drag): filter by nodrag class name
2022-05-29 09:15:09 +02:00
Braks
30db19bb50
v0.4.13
2022-05-27 23:38:21 +02:00
bcakmakoglu
d4ce7b835c
refactor(edges): remove v-html from template tag
2022-05-27 23:36:01 +02:00
bcakmakoglu
008929a939
fix(edges): use correct bbox for edge text
2022-05-27 23:36:01 +02:00
bcakmakoglu
a3f307708b
fix(edges): missing source / target node
2022-05-27 23:36:01 +02:00
bcakmakoglu
048775df29
fix(drag): properly expand parent
2022-05-27 23:36:01 +02:00
bcakmakoglu
8af74259ec
chore: remove old edge wrapper component
2022-05-27 23:36:01 +02:00
bcakmakoglu
957918e7c7
fix(drag): set dragging to false after drag
2022-05-27 23:36:01 +02:00