FitBoundsOptions
The FitBoundsOptions type is used to configure the fitBounds function you get from
useSvelteFlow. Next to the shared
ViewportHelperFunctionOptions
like duration, 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 |