feat(zoom): Add option to zoom to specific node ids and transitionDuration for smooth transitions on fitView

Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
Braks
2021-11-26 15:59:01 +01:00
parent 043ba21a94
commit 43b68c1699
2 changed files with 24 additions and 4 deletions
+2
View File
@@ -68,6 +68,8 @@ export type FitViewParams = {
x?: number
y?: number
}
transitionDuration?: number
nodes?: ElementId[]
}
export type FlowExportObject<T = any> = {