@i2analyze/notebook-sdk 1.8.0-dev.10 → 1.8.0-dev.11
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.
|
@@ -757,6 +757,14 @@ export declare namespace app {
|
|
|
757
757
|
* @i2since 1.8
|
|
758
758
|
*/
|
|
759
759
|
setImage(href: string | undefined, description?: string): this;
|
|
760
|
+
/**
|
|
761
|
+
* Sets whether the node group is collapsed or expanded.
|
|
762
|
+
*
|
|
763
|
+
* @param isCollapsed - `true` to collapse the group, `false` to expand it.
|
|
764
|
+
* @returns The node group, with its collapsed state set to the specified value.
|
|
765
|
+
* @i2since 1.8
|
|
766
|
+
*/
|
|
767
|
+
setIsCollapsed(isCollapsed: boolean): this;
|
|
760
768
|
/**
|
|
761
769
|
* Adds nodes to the group.
|
|
762
770
|
* @param nodes - The nodes to add to the group.
|
|
@@ -5774,6 +5782,15 @@ export declare namespace visual {
|
|
|
5774
5782
|
* @i2since 1.8
|
|
5775
5783
|
*/
|
|
5776
5784
|
readonly style: INodeGroupStyle;
|
|
5785
|
+
/**
|
|
5786
|
+
* Indicates the collapsed state of the node group.
|
|
5787
|
+
* @remarks
|
|
5788
|
+
* A collapsed node group is represented by a single node that contains the label and
|
|
5789
|
+
* image of the group, and can be expanded to show the individual nodes in the group.
|
|
5790
|
+
* @returns `true` if the node group is collapsed; `false` if it is expanded.
|
|
5791
|
+
* @i2since 1.8
|
|
5792
|
+
*/
|
|
5793
|
+
readonly isCollapsed: boolean;
|
|
5777
5794
|
/**
|
|
5778
5795
|
* Gets the nodes in the node group.
|
|
5779
5796
|
* @i2since 1.8
|