@i2analyze/notebook-sdk 1.9.0-dev.6 → 1.9.0-dev.8

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.
@@ -747,30 +747,29 @@ export declare namespace app {
747
747
  /**
748
748
  * Sets or resets the border color of the node.
749
749
  *
750
- * @param color - The color to set, or `null` to remove the border, or `undefined` to reset the border color to the theme default.
750
+ * @param color - The color to set, or `undefined` to reset the border color to the theme default.
751
751
  * @returns The node, with its border color set to the specified value.
752
- * @throws `Error` if the specified value is not in a form that CSS supports, such as a hexadecimal number, an `rgb()` value, or a color name, or `null` or `undefined`.
752
+ * @throws `Error` if the specified value is not in a form that CSS supports, such as a hexadecimal number, an `rgb()` value, or a color name.
753
753
  * @i2since 1.9
754
754
  */
755
- setBorderColor(color: string | undefined | null): this;
755
+ setBorderColor(color: string | undefined): this;
756
756
  /**
757
757
  * Sets or resets the border width of the node.
758
758
  *
759
- * @param width - The width to set, or `undefined` to reset the width to the theme default.
759
+ * @param width - The width to set (valid range is 1 to 32), or `undefined` to reset the width to the theme default.
760
760
  * @returns The node, with its border width set to the specified value.
761
- * @throws `Error` if the specified value is not either a positive number or `undefined`.
762
- * @remarks A size of 0 is valid, and indicates that the node has no border - equivalent to `setBorderColor(null)`.
761
+ * @throws `Error` if the specified value is neither `undefined` nor a number in the range 1 to 32.
763
762
  * @i2since 1.9
764
763
  */
765
764
  setBorderWidth(width: number | undefined): this;
766
765
  /**
767
766
  * Sets or resets the border style of the node.
768
767
  *
769
- * @param lineStyle - The line style to set, or `undefined` to reset to the default ('solid').
768
+ * @param lineStyle - The line style to set, or `null` to remove the border, or `undefined` to reset to the default ('solid').
770
769
  * @returns The node, with its border style set to the specified value.
771
770
  * @i2since 1.9
772
771
  */
773
- setBorderStyle(lineStyle: visual.LineStyle | undefined): this;
772
+ setBorderStyle(lineStyle: visual.LineStyle | null | undefined): this;
774
773
  }
775
774
  /**
776
775
  * A set of methods for modifying the appearance of an edge.
@@ -810,30 +809,29 @@ export declare namespace app {
810
809
  /**
811
810
  * Sets or resets the color of the node group.
812
811
  *
813
- * @param color - The color to set, or `null` to remove the border, or `undefined` to reset the border color to the theme default.
812
+ * @param color - The color to set, or `undefined` to reset the border color to the theme default.
814
813
  * @returns The node group, with its border color set to the specified value.
815
- * @throws `Error` if the specified value is not in a form that CSS supports, such as a hexadecimal number, an `rgb()` value, or a color name, or `null` or `undefined`.
814
+ * @throws `Error` if the specified value is not in a form that CSS supports, such as a hexadecimal number, an `rgb()` value, or a color name.
816
815
  * @i2since 1.8
817
816
  */
818
- setBorderColor(color: string | undefined | null): this;
817
+ setBorderColor(color: string | undefined): this;
819
818
  /**
820
819
  * Sets or resets the border width of the node group.
821
820
  *
822
- * @param width - The width to set, or `undefined` to reset the width to the theme default.
821
+ * @param width - The width to set (valid range is 1 to 32), or `undefined` to reset the width to the theme default.
823
822
  * @returns The node group, with its border width set to the specified value.
824
- * @throws `Error` if the specified value is not either a positive number or `undefined`.
825
- * @remarks A size of 0 is valid, and indicates that the node group has no border - equivalent to `setBorderColor(null)`.
823
+ * @throws `Error` if the specified value is neither `undefined` nor a number in the range 1 to 32.
826
824
  * @i2since 1.8
827
825
  */
828
826
  setBorderWidth(width: number | undefined): this;
829
827
  /**
830
828
  * Sets or resets the border style of the node group.
831
829
  *
832
- * @param lineStyle - The line style to set, or `undefined` to reset to the default ('solid').
830
+ * @param lineStyle - The line style to set, or `null` to remove the border, or `undefined` to reset to the default ('solid').
833
831
  * @returns The node group, with its border style set to the specified value.
834
832
  * @i2since 1.9
835
833
  */
836
- setBorderStyle(lineStyle: visual.LineStyle | undefined): this;
834
+ setBorderStyle(lineStyle: visual.LineStyle | null | undefined): this;
837
835
  /**
838
836
  * Sets or resets the background color of the node group.
839
837
  *
@@ -2937,35 +2935,95 @@ export declare namespace commands {
2937
2935
  */
2938
2936
  readonly groupNodes: CommandId;
2939
2937
  /**
2940
- * Gets the identifier of the system command that performs a grouped layout.
2938
+ * Gets the identifier of the system command that performs a grouped layout on the whole chart.
2941
2939
  * @i2since 1.0
2942
2940
  */
2943
2941
  readonly layoutGrouped: CommandId;
2944
2942
  /**
2945
- * Gets the identifier of the system command that performs a packed layout.
2943
+ * Gets the identifier of the system command that performs a grouped layout on the current selection.
2944
+ * @i2since 1.9
2945
+ */
2946
+ readonly layoutGroupedOnSelection: CommandId;
2947
+ /**
2948
+ * Gets the identifier of the system command that performs a grouped layout within a group.
2949
+ * @i2since 1.9
2950
+ */
2951
+ readonly layoutGroupedWithinGroup: CommandId;
2952
+ /**
2953
+ * Gets the identifier of the system command that performs a packed layout on the whole chart.
2946
2954
  * @i2since 1.0
2947
2955
  */
2948
2956
  readonly layoutPacked: CommandId;
2949
2957
  /**
2950
- * Gets the identifier of the system command that performs a peacock layout.
2958
+ * Gets the identifier of the system command that performs a packed layout on the current selection.
2959
+ * @i2since 1.9
2960
+ */
2961
+ readonly layoutPackedOnSelection: CommandId;
2962
+ /**
2963
+ * Gets the identifier of the system command that performs a packed layout within a group.
2964
+ * @i2since 1.9
2965
+ */
2966
+ readonly layoutPackedWithinGroup: CommandId;
2967
+ /**
2968
+ * Gets the identifier of the system command that performs a peacock layout on the whole chart.
2951
2969
  * @i2since 1.0
2952
2970
  */
2953
2971
  readonly layoutPeacock: CommandId;
2954
2972
  /**
2955
- * Gets the identifier of the system command that performs a circular layout.
2973
+ * Gets the identifier of the system command that performs a peacock layout on the current selection.
2974
+ * @i2since 1.9
2975
+ */
2976
+ readonly layoutPeacockOnSelection: CommandId;
2977
+ /**
2978
+ * Gets the identifier of the system command that performs a peacock layout within a group.
2979
+ * @i2since 1.9
2980
+ */
2981
+ readonly layoutPeacockWithinGroup: CommandId;
2982
+ /**
2983
+ * Gets the identifier of the system command that performs a circular layout on the whole chart.
2956
2984
  * @i2since 1.8
2957
2985
  */
2958
2986
  readonly layoutCircular: CommandId;
2959
2987
  /**
2960
- * Gets the identifier of the system command that performs an organization layout.
2988
+ * Gets the identifier of the system command that performs a circular layout on the current selection.
2989
+ * @i2since 1.9
2990
+ */
2991
+ readonly layoutCircularOnSelection: CommandId;
2992
+ /**
2993
+ * Gets the identifier of the system command that performs a circular layout within a group.
2994
+ * @i2since 1.9
2995
+ */
2996
+ readonly layoutCircularWithinGroup: CommandId;
2997
+ /**
2998
+ * Gets the identifier of the system command that performs an organization layout on the whole chart.
2961
2999
  * @i2since 1.8
2962
3000
  */
2963
3001
  readonly layoutOrganization: CommandId;
2964
3002
  /**
2965
- * Gets the identifier of the system command that performs a minimize crossed links layout.
3003
+ * Gets the identifier of the system command that performs an organization layout on the current selection.
3004
+ * @i2since 1.9
3005
+ */
3006
+ readonly layoutOrganizationOnSelection: CommandId;
3007
+ /**
3008
+ * Gets the identifier of the system command that performs an organization layout within a group.
3009
+ * @i2since 1.9
3010
+ */
3011
+ readonly layoutOrganizationWithinGroup: CommandId;
3012
+ /**
3013
+ * Gets the identifier of the system command that performs a minimize crossed links layout on the whole chart.
2966
3014
  * @i2since 1.8
2967
3015
  */
2968
3016
  readonly layoutMinimizeCrossedLinks: CommandId;
3017
+ /**
3018
+ * Gets the identifier of the system command that performs a minimize crossed links layout on the current selection.
3019
+ * @i2since 1.9
3020
+ */
3021
+ readonly layoutMinimizeCrossedLinksOnSelection: CommandId;
3022
+ /**
3023
+ * Gets the identifier of the system command that performs a minimize crossed links layout within a group.
3024
+ * @i2since 1.9
3025
+ */
3026
+ readonly layoutMinimizeCrossedLinksWithinGroup: CommandId;
2969
3027
  /**
2970
3028
  * Gets the identifier of the system command that maximizes selected groups in the chart.
2971
3029
  *
@@ -6228,20 +6286,20 @@ export declare namespace visual {
6228
6286
  */
6229
6287
  readonly size: IElementSetting<NodeSize>;
6230
6288
  /**
6231
- * Gets the border color of the node, or null if there is no border.
6289
+ * Gets the border color of the node.
6232
6290
  * @i2since 1.9
6233
6291
  */
6234
- readonly borderColor: IElementSetting<string | null>;
6292
+ readonly borderColor: IElementSetting<string>;
6235
6293
  /**
6236
6294
  * Gets the border width of the node.
6237
6295
  * @i2since 1.9
6238
6296
  */
6239
6297
  readonly borderWidth: IElementSetting<number>;
6240
6298
  /**
6241
- * Gets the border style of the node.
6299
+ * Gets the border style of the node, or null if there is no border.
6242
6300
  * @i2since 1.9
6243
6301
  */
6244
- readonly borderStyle: IElementSetting<LineStyle>;
6302
+ readonly borderStyle: IElementSetting<LineStyle | null>;
6245
6303
  }
6246
6304
  /**
6247
6305
  * A style for an edge, which affects its appearance.
@@ -6362,20 +6420,20 @@ export declare namespace visual {
6362
6420
  */
6363
6421
  readonly color: IElementSetting<string | null>;
6364
6422
  /**
6365
- * Gets the border color of the node group, or null if there is no border.
6423
+ * Gets the border color of the node group.
6366
6424
  * @i2since 1.8
6367
6425
  */
6368
- readonly borderColor: IElementSetting<string | null>;
6426
+ readonly borderColor: IElementSetting<string>;
6369
6427
  /**
6370
6428
  * Gets the border width of the node group.
6371
6429
  * @i2since 1.8
6372
6430
  */
6373
6431
  readonly borderWidth: IElementSetting<number>;
6374
6432
  /**
6375
- * Gets the border style of the node group.
6433
+ * Gets the border style of the node group, or null if there is no border.
6376
6434
  * @i2since 1.9
6377
6435
  */
6378
- readonly borderStyle: IElementSetting<LineStyle>;
6436
+ readonly borderStyle: IElementSetting<LineStyle | null>;
6379
6437
  }
6380
6438
  }
6381
6439
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@i2analyze/notebook-sdk",
3
- "version": "1.9.0-dev.6",
3
+ "version": "1.9.0-dev.8",
4
4
  "description": "i2 Notebook SDK",
5
5
  "license": "MIT",
6
6
  "publishConfig": {