@squeed/flow-sdk 2.0.36 → 2.0.38
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 +29 -7
- package/dist/index.cjs +10 -10
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +5793 -5715
- 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. */
|
|
@@ -1036,6 +1036,7 @@ export declare interface NodeSelectionModifiers {
|
|
|
1036
1036
|
metaKey: boolean;
|
|
1037
1037
|
altKey: boolean;
|
|
1038
1038
|
viewToggle?: boolean;
|
|
1039
|
+
keyboardNavigation?: boolean;
|
|
1039
1040
|
}
|
|
1040
1041
|
|
|
1041
1042
|
export declare type NodeSpacing = number | "compact" | "normal" | "spacious";
|
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. */
|
|
@@ -1036,6 +1036,7 @@ export declare interface NodeSelectionModifiers {
|
|
|
1036
1036
|
metaKey: boolean;
|
|
1037
1037
|
altKey: boolean;
|
|
1038
1038
|
viewToggle?: boolean;
|
|
1039
|
+
keyboardNavigation?: boolean;
|
|
1039
1040
|
}
|
|
1040
1041
|
|
|
1041
1042
|
export declare type NodeSpacing = number | "compact" | "normal" | "spacious";
|