@squeed/flow-sdk 2.0.8 → 2.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +46 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +4244 -4155
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -619,7 +619,7 @@ export declare interface FlowEngine {
|
|
|
619
619
|
/** Temporarily show only this branch and fit it, preserving graph data. */
|
|
620
620
|
isolateBranch(id: string, padding?: number, animate?: boolean): void;
|
|
621
621
|
/** End isolation and restore the viewport saved when isolation began. */
|
|
622
|
-
restoreView(animate?: boolean): void;
|
|
622
|
+
restoreView(animate?: boolean, state?: ViewportState): void;
|
|
623
623
|
/** Hide/show edge paths, labels and hit targets without changing graph data. */
|
|
624
624
|
setEdgesVisible(visible: boolean): void;
|
|
625
625
|
clientToModel(clientX: number, clientY: number): Point;
|
package/dist/index.d.ts
CHANGED
|
@@ -619,7 +619,7 @@ export declare interface FlowEngine {
|
|
|
619
619
|
/** Temporarily show only this branch and fit it, preserving graph data. */
|
|
620
620
|
isolateBranch(id: string, padding?: number, animate?: boolean): void;
|
|
621
621
|
/** End isolation and restore the viewport saved when isolation began. */
|
|
622
|
-
restoreView(animate?: boolean): void;
|
|
622
|
+
restoreView(animate?: boolean, state?: ViewportState): void;
|
|
623
623
|
/** Hide/show edge paths, labels and hit targets without changing graph data. */
|
|
624
624
|
setEdgesVisible(visible: boolean): void;
|
|
625
625
|
clientToModel(clientX: number, clientY: number): Point;
|