feat(zoom): Add offset to fitview-params

* Allow for offsetting fit view by x or y values

Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
Braks
2021-11-23 23:58:11 +01:00
parent db70409337
commit 073b25ec60
3 changed files with 11 additions and 2 deletions
+4
View File
@@ -63,6 +63,10 @@ export type FitViewParams = {
includeHiddenNodes?: boolean
minZoom?: number
maxZoom?: number
offset?: {
x?: number
y?: number
}
}
export type FlowExportObject<T = any> = {