@squeed/flow-sdk 2.0.36 → 2.0.37
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/README.md +6 -0
- package/dist/index.cjs +7 -7
- 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 +385 -383
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -676,7 +676,7 @@ export declare interface FlowEngine {
|
|
|
676
676
|
/** Fit one node; afterViewChange waits for opening geometry. Padding is in screen pixels (default 50). */
|
|
677
677
|
focusNode(id: string, padding?: number, animate?: boolean, afterViewChange?: boolean): void;
|
|
678
678
|
/** Fit hierarchy descendants and outgoing nodes; centerOnNode keeps the selected node at the viewport center. Does not expand collapsed nodes. */
|
|
679
|
-
focusBranch(id: string, padding?: number, animate?: boolean, afterViewChange?: boolean, centerOnNode?: boolean): void;
|
|
679
|
+
focusBranch(id: string, padding?: number, animate?: boolean, afterViewChange?: boolean, centerOnNode?: boolean, zoomScale?: number): void;
|
|
680
680
|
focusConnections(id: string, padding?: number, animate?: boolean, afterViewChange?: boolean): void;
|
|
681
681
|
isolateConnections(id: string, padding?: number, animate?: boolean): void;
|
|
682
682
|
/** Temporarily show only this branch and fit it, preserving graph data. */
|
package/dist/index.d.ts
CHANGED
|
@@ -676,7 +676,7 @@ export declare interface FlowEngine {
|
|
|
676
676
|
/** Fit one node; afterViewChange waits for opening geometry. Padding is in screen pixels (default 50). */
|
|
677
677
|
focusNode(id: string, padding?: number, animate?: boolean, afterViewChange?: boolean): void;
|
|
678
678
|
/** Fit hierarchy descendants and outgoing nodes; centerOnNode keeps the selected node at the viewport center. Does not expand collapsed nodes. */
|
|
679
|
-
focusBranch(id: string, padding?: number, animate?: boolean, afterViewChange?: boolean, centerOnNode?: boolean): void;
|
|
679
|
+
focusBranch(id: string, padding?: number, animate?: boolean, afterViewChange?: boolean, centerOnNode?: boolean, zoomScale?: number): void;
|
|
680
680
|
focusConnections(id: string, padding?: number, animate?: boolean, afterViewChange?: boolean): void;
|
|
681
681
|
isolateConnections(id: string, padding?: number, animate?: boolean): void;
|
|
682
682
|
/** Temporarily show only this branch and fit it, preserving graph data. */
|