chore: add changesets
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,18 @@
|
|||||||
|
---
|
||||||
|
'@vue-flow/core': minor
|
||||||
|
---
|
||||||
|
|
||||||
|
Add autopan options. Pans viewport on node drag and/or when drawing a connection line.
|
||||||
|
|
||||||
|
### Usage
|
||||||
|
|
||||||
|
```ts
|
||||||
|
useVueFlow({
|
||||||
|
autoPanOnNodeDrag: true,
|
||||||
|
autoPanOnConnect: true,
|
||||||
|
})
|
||||||
|
```
|
||||||
|
|
||||||
|
```vue
|
||||||
|
<VueFlow v-model="elements" :autoPanOnNodeDrag="true" :autoPanOnConnect="true" />
|
||||||
|
```
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
'@vue-flow/core': patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Throw warning if viewport dimensions are 0
|
||||||
Reference in New Issue
Block a user