@squeed/flow-sdk 2.0.29 → 2.0.30

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.d.cts CHANGED
@@ -93,6 +93,8 @@ declare interface Box {
93
93
 
94
94
  export declare type BuiltInEdgeType = "straight" | "bezier" | "orthogonal" | "rounded-orthogonal";
95
95
 
96
+ export declare function CollapseAllToggle(): JSX_2.Element;
97
+
96
98
  export declare function CompactPropertyLayoutToggle({ label, }?: {
97
99
  label?: string;
98
100
  }): JSX_2.Element;
@@ -665,7 +667,7 @@ export declare interface FlowEngine {
665
667
  /** Fit one node; afterViewChange waits for opening geometry. Padding is in screen pixels (default 50). */
666
668
  focusNode(id: string, padding?: number, animate?: boolean, afterViewChange?: boolean): void;
667
669
  /** Fit laid-out hierarchy descendants and outgoing reachable nodes. Does not expand collapsed nodes. Animate overrides config.animateViewport. */
668
- focusBranch(id: string, padding?: number, animate?: boolean): void;
670
+ focusBranch(id: string, padding?: number, animate?: boolean, afterViewChange?: boolean): void;
669
671
  focusConnections(id: string, padding?: number, animate?: boolean, afterViewChange?: boolean): void;
670
672
  isolateConnections(id: string, padding?: number, animate?: boolean): void;
671
673
  /** Temporarily show only this branch and fit it, preserving graph data. */
@@ -852,6 +854,8 @@ export declare function getNode(json: SqueedJson, address: string): any;
852
854
 
853
855
  export declare function getSelectionRoots(json: SqueedJson, ids: string[]): string[];
854
856
 
857
+ export declare function GridAdjustmentToggle(): JSX_2.Element;
858
+
855
859
  declare interface GridDivider {
856
860
  section: string;
857
861
  axis: "x" | "y";
@@ -995,6 +999,7 @@ export declare interface NodeOverlayAction {
995
999
  id: string;
996
1000
  icon: any;
997
1001
  label: string;
1002
+ nodeTypes?: string[];
998
1003
  }
999
1004
 
1000
1005
  /** Props passed to custom node overlay renderer */
package/dist/index.d.ts CHANGED
@@ -93,6 +93,8 @@ declare interface Box {
93
93
 
94
94
  export declare type BuiltInEdgeType = "straight" | "bezier" | "orthogonal" | "rounded-orthogonal";
95
95
 
96
+ export declare function CollapseAllToggle(): JSX_2.Element;
97
+
96
98
  export declare function CompactPropertyLayoutToggle({ label, }?: {
97
99
  label?: string;
98
100
  }): JSX_2.Element;
@@ -665,7 +667,7 @@ export declare interface FlowEngine {
665
667
  /** Fit one node; afterViewChange waits for opening geometry. Padding is in screen pixels (default 50). */
666
668
  focusNode(id: string, padding?: number, animate?: boolean, afterViewChange?: boolean): void;
667
669
  /** Fit laid-out hierarchy descendants and outgoing reachable nodes. Does not expand collapsed nodes. Animate overrides config.animateViewport. */
668
- focusBranch(id: string, padding?: number, animate?: boolean): void;
670
+ focusBranch(id: string, padding?: number, animate?: boolean, afterViewChange?: boolean): void;
669
671
  focusConnections(id: string, padding?: number, animate?: boolean, afterViewChange?: boolean): void;
670
672
  isolateConnections(id: string, padding?: number, animate?: boolean): void;
671
673
  /** Temporarily show only this branch and fit it, preserving graph data. */
@@ -852,6 +854,8 @@ export declare function getNode(json: SqueedJson, address: string): any;
852
854
 
853
855
  export declare function getSelectionRoots(json: SqueedJson, ids: string[]): string[];
854
856
 
857
+ export declare function GridAdjustmentToggle(): JSX_2.Element;
858
+
855
859
  declare interface GridDivider {
856
860
  section: string;
857
861
  axis: "x" | "y";
@@ -995,6 +999,7 @@ export declare interface NodeOverlayAction {
995
999
  id: string;
996
1000
  icon: any;
997
1001
  label: string;
1002
+ nodeTypes?: string[];
998
1003
  }
999
1004
 
1000
1005
  /** Props passed to custom node overlay renderer */