chore: add changesets

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
braks
2023-02-01 23:32:45 +01:00
committed by Braks
parent 35d28abd65
commit b59dd6a725
2 changed files with 23 additions and 0 deletions
+18
View File
@@ -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" />
```
+5
View File
@@ -0,0 +1,5 @@
---
'@vue-flow/core': patch
---
Throw warning if viewport dimensions are 0