Skip to content

Commit

Permalink
chore(docs): update vueflow config docs
Browse files Browse the repository at this point in the history
  • Loading branch information
bcakmakoglu committed Feb 3, 2024
1 parent da8f82a commit 4d887ca
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions docs/src/guide/vue-flow/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -446,21 +446,15 @@ const edges = ref([

- Default: `2`

### default-zoom (optional)
### default-viewport (optional)

- Type: `number`

- Default: `1`

### default-position (optional)

- Type: `[x: number, y: number]`
- Type: [`ViewportTransform`](/typedocs/types/ViewportTransform)

- Default: `[0, 0]`
- Default: `{ zoom: 1, position: { x: 0, y: 0 } }`

- Details:

Default viewport position on initial load.
The default viewport when the component is mounted.

### translate-extent (optional)

Expand Down

0 comments on commit 4d887ca

Please sign in to comment.