FitBoundsOptions
The FitBoundsOptions type is used to configure the fitBounds function you get from
useVueFlow. Next to the shared viewport helper options
duration, ease and interpolate, you can set a padding that is applied around the bounds.
Fields
| Name | Type | Default |
|---|---|---|
duration | number | |
ease | (t: number) => number | |
interpolate | "smooth" | "linear" | |
padding | Padding |