@i2analyze/notebook-sdk 1.9.0-dev.1 → 1.9.0-dev.10
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/lib/gen/notebook-sdk-public.d.ts +352 -17
- package/lib/index.js +1 -1
- package/package.json +1 -1
|
@@ -744,6 +744,32 @@ export declare namespace app {
|
|
|
744
744
|
* @i2since 1.5
|
|
745
745
|
*/
|
|
746
746
|
setImage(href: undefined): this;
|
|
747
|
+
/**
|
|
748
|
+
* Sets or resets the border color of the node.
|
|
749
|
+
*
|
|
750
|
+
* @param color - The color to set, or `undefined` to reset the border color to the theme default.
|
|
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.
|
|
753
|
+
* @i2since 1.9
|
|
754
|
+
*/
|
|
755
|
+
setBorderColor(color: string | undefined): this;
|
|
756
|
+
/**
|
|
757
|
+
* Sets or resets the border width of the node.
|
|
758
|
+
*
|
|
759
|
+
* @param width - The width to set (valid range is 1 to 32), or `undefined` to reset the width to the theme default.
|
|
760
|
+
* @returns The node, with its border width set to the specified value.
|
|
761
|
+
* @throws `Error` if the specified value is neither `undefined` nor a number in the range 1 to 32.
|
|
762
|
+
* @i2since 1.9
|
|
763
|
+
*/
|
|
764
|
+
setBorderWidth(width: number | undefined): this;
|
|
765
|
+
/**
|
|
766
|
+
* Sets or resets the border style of the node.
|
|
767
|
+
*
|
|
768
|
+
* @param lineStyle - The line style to set, or `null` to remove the border, or `undefined` to reset to the default ('solid').
|
|
769
|
+
* @returns The node, with its border style set to the specified value.
|
|
770
|
+
* @i2since 1.9
|
|
771
|
+
*/
|
|
772
|
+
setBorderStyle(lineStyle: visual.LineStyle | null | undefined): this;
|
|
747
773
|
}
|
|
748
774
|
/**
|
|
749
775
|
* A set of methods for modifying the appearance of an edge.
|
|
@@ -758,6 +784,14 @@ export declare namespace app {
|
|
|
758
784
|
* @i2since 1.8
|
|
759
785
|
*/
|
|
760
786
|
setWidth(width: number | undefined): this;
|
|
787
|
+
/**
|
|
788
|
+
* Sets or resets the line style of the edge.
|
|
789
|
+
*
|
|
790
|
+
* @param lineStyle - The line style to set, or `undefined` to reset to the default ('solid').
|
|
791
|
+
* @returns The edge, with its line style set to the specified value.
|
|
792
|
+
* @i2since 1.9
|
|
793
|
+
*/
|
|
794
|
+
setLineStyle(lineStyle: visual.LineStyle | undefined): this;
|
|
761
795
|
}
|
|
762
796
|
/**
|
|
763
797
|
* A set of methods for modifying the contents and position of a node group.
|
|
@@ -775,22 +809,29 @@ export declare namespace app {
|
|
|
775
809
|
/**
|
|
776
810
|
* Sets or resets the color of the node group.
|
|
777
811
|
*
|
|
778
|
-
* @param color - The color to set, or `
|
|
812
|
+
* @param color - The color to set, or `undefined` to reset the border color to the theme default.
|
|
779
813
|
* @returns The node group, with its border color set to the specified value.
|
|
780
|
-
* @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
|
|
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.
|
|
781
815
|
* @i2since 1.8
|
|
782
816
|
*/
|
|
783
|
-
setBorderColor(color: string | undefined
|
|
817
|
+
setBorderColor(color: string | undefined): this;
|
|
784
818
|
/**
|
|
785
819
|
* Sets or resets the border width of the node group.
|
|
786
820
|
*
|
|
787
|
-
* @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.
|
|
788
822
|
* @returns The node group, with its border width set to the specified value.
|
|
789
|
-
* @throws `Error` if the specified value is
|
|
790
|
-
* @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.
|
|
791
824
|
* @i2since 1.8
|
|
792
825
|
*/
|
|
793
826
|
setBorderWidth(width: number | undefined): this;
|
|
827
|
+
/**
|
|
828
|
+
* Sets or resets the border style of the node group.
|
|
829
|
+
*
|
|
830
|
+
* @param lineStyle - The line style to set, or `null` to remove the border, or `undefined` to reset to the default ('solid').
|
|
831
|
+
* @returns The node group, with its border style set to the specified value.
|
|
832
|
+
* @i2since 1.9
|
|
833
|
+
*/
|
|
834
|
+
setBorderStyle(lineStyle: visual.LineStyle | null | undefined): this;
|
|
794
835
|
/**
|
|
795
836
|
* Sets or resets the background color of the node group.
|
|
796
837
|
*
|
|
@@ -1460,6 +1501,7 @@ export declare namespace app {
|
|
|
1460
1501
|
}
|
|
1461
1502
|
/**
|
|
1462
1503
|
* The names of themes for the i2 Notebook user interface.
|
|
1504
|
+
* @deprecated Use {@link app.ITheme.appearance | appearance} to determine the application theme instead.
|
|
1463
1505
|
* @i2since 1.0
|
|
1464
1506
|
*/
|
|
1465
1507
|
export type ThemeName = 'carbonwhite' | 'carbongray10' | 'carbongray90' | 'carbongray100';
|
|
@@ -1470,6 +1512,7 @@ export declare namespace app {
|
|
|
1470
1512
|
export interface ITheme {
|
|
1471
1513
|
/**
|
|
1472
1514
|
* Gets the name of the theme.
|
|
1515
|
+
* @deprecated Use {@link app.ITheme.appearance | appearance} to determine the application theme instead.
|
|
1473
1516
|
* @i2since 1.0
|
|
1474
1517
|
*/
|
|
1475
1518
|
readonly themeName: ThemeName;
|
|
@@ -1662,6 +1705,145 @@ export declare namespace chart {
|
|
|
1662
1705
|
*/
|
|
1663
1706
|
getRecordsOfType(itemType: schema.ChartItemTypeSpecifier): data.IReadOnlyCollection<records.IChartRecord>;
|
|
1664
1707
|
}
|
|
1708
|
+
/**
|
|
1709
|
+
* Detailed information about the specific properties, notes, and source references that changed within a record.
|
|
1710
|
+
*
|
|
1711
|
+
* @remarks
|
|
1712
|
+
* This interface provides granular change tracking at the property level.
|
|
1713
|
+
* Empty sets indicate no changes occurred in that category.
|
|
1714
|
+
*
|
|
1715
|
+
* **Known Limitations:**
|
|
1716
|
+
* - Only includes changes for properties that have been fetched. Changes to unfetched properties are not reported here.
|
|
1717
|
+
* - Security dimension changes are not included in this interface.
|
|
1718
|
+
* - If a record is reported as having changed but `recordChanges` shows empty sets for all categories, this may indicate unfetched property changes or security-only edits.
|
|
1719
|
+
*
|
|
1720
|
+
* @example
|
|
1721
|
+
* ```typescript
|
|
1722
|
+
* // Plugin code consuming recordChanges
|
|
1723
|
+
* chartChangeListener((change) => {
|
|
1724
|
+
* if (change.type === 'minor' && change.recordChanges) {
|
|
1725
|
+
* change.recordChanges.forEach((recordId, changes) => {
|
|
1726
|
+
* // Check for property changes
|
|
1727
|
+
* if (changes.properties?.changed.size > 0) {
|
|
1728
|
+
* console.log('Properties changed:', changes.properties.changed);
|
|
1729
|
+
* }
|
|
1730
|
+
*
|
|
1731
|
+
* // Check for note additions
|
|
1732
|
+
* if (changes.notes?.added.size > 0) {
|
|
1733
|
+
* console.log('Notes added:', changes.notes.added);
|
|
1734
|
+
* }
|
|
1735
|
+
*
|
|
1736
|
+
* // Check for source reference changes
|
|
1737
|
+
* if (changes.sourceReferences?.changed.size > 0) {
|
|
1738
|
+
* console.log('Source references changed:', changes.sourceReferences.changed);
|
|
1739
|
+
* }
|
|
1740
|
+
*
|
|
1741
|
+
* // Check for source reference removals
|
|
1742
|
+
* if (changes.sourceReferences?.removed.size > 0) {
|
|
1743
|
+
* console.log('Source references removed:', changes.sourceReferences.removed);
|
|
1744
|
+
* }
|
|
1745
|
+
* });
|
|
1746
|
+
* }
|
|
1747
|
+
* });
|
|
1748
|
+
* ```
|
|
1749
|
+
*
|
|
1750
|
+
* @i2since 1.9
|
|
1751
|
+
*/
|
|
1752
|
+
export interface IRecordChanges {
|
|
1753
|
+
/**
|
|
1754
|
+
* Gets the property changes for this record.
|
|
1755
|
+
*
|
|
1756
|
+
* @remarks
|
|
1757
|
+
* The property changes are categorized as follows:
|
|
1758
|
+
* - Added: New properties that were set (property type IDs that were not previously set)
|
|
1759
|
+
* - Removed: Properties that were removed (set to `null` or deleted)
|
|
1760
|
+
* - Changed: Existing properties whose values were modified
|
|
1761
|
+
*
|
|
1762
|
+
* **Note:** If a property value oscillates within the same mutation (for example, A→B→A),
|
|
1763
|
+
* it is still reported as "changed" since this tracks mutations, not just final state.
|
|
1764
|
+
*
|
|
1765
|
+
* Empty sets indicate no changes in that category.
|
|
1766
|
+
*
|
|
1767
|
+
* @i2since 1.9
|
|
1768
|
+
*/
|
|
1769
|
+
readonly properties?: {
|
|
1770
|
+
/**
|
|
1771
|
+
* Gets the property type IDs for properties that were added to the record.
|
|
1772
|
+
* @i2since 1.9
|
|
1773
|
+
*/
|
|
1774
|
+
readonly added: data.IReadOnlyCollection<schema.PropertyTypeIdentifier>;
|
|
1775
|
+
/**
|
|
1776
|
+
* Gets the property type IDs for properties that were removed from the record.
|
|
1777
|
+
* @i2since 1.9
|
|
1778
|
+
*/
|
|
1779
|
+
readonly removed: data.IReadOnlyCollection<schema.PropertyTypeIdentifier>;
|
|
1780
|
+
/**
|
|
1781
|
+
* Gets the property type IDs for properties whose values were changed.
|
|
1782
|
+
* @i2since 1.9
|
|
1783
|
+
*/
|
|
1784
|
+
readonly changed: data.IReadOnlyCollection<schema.PropertyTypeIdentifier>;
|
|
1785
|
+
};
|
|
1786
|
+
/**
|
|
1787
|
+
* Gets the note changes for this record.
|
|
1788
|
+
*
|
|
1789
|
+
* @remarks
|
|
1790
|
+
* The note changes are categorized as follows:
|
|
1791
|
+
* - Added: New notes that were created
|
|
1792
|
+
* - Changed: Existing notes whose content was modified
|
|
1793
|
+
* - Removed: Notes that were deleted
|
|
1794
|
+
*
|
|
1795
|
+
* Empty sets indicate no changes in that category.
|
|
1796
|
+
*
|
|
1797
|
+
* @i2since 1.9
|
|
1798
|
+
*/
|
|
1799
|
+
readonly notes?: {
|
|
1800
|
+
/**
|
|
1801
|
+
* Gets the note IDs for notes that were added to the record.
|
|
1802
|
+
* @i2since 1.9
|
|
1803
|
+
*/
|
|
1804
|
+
readonly added: data.IReadOnlyCollection<data.NoteId>;
|
|
1805
|
+
/**
|
|
1806
|
+
* Gets the note IDs for notes whose content was changed.
|
|
1807
|
+
* @i2since 1.9
|
|
1808
|
+
*/
|
|
1809
|
+
readonly changed: data.IReadOnlyCollection<data.NoteId>;
|
|
1810
|
+
/**
|
|
1811
|
+
* Gets the note IDs for notes that were removed from the record.
|
|
1812
|
+
* @i2since 1.9
|
|
1813
|
+
*/
|
|
1814
|
+
readonly removed: data.IReadOnlyCollection<data.NoteId>;
|
|
1815
|
+
};
|
|
1816
|
+
/**
|
|
1817
|
+
* Gets the source reference changes for this record.
|
|
1818
|
+
*
|
|
1819
|
+
* @remarks
|
|
1820
|
+
* The source reference changes are categorized as follows:
|
|
1821
|
+
* - Added: New source references that were added
|
|
1822
|
+
* - Changed: Existing source references whose content was modified
|
|
1823
|
+
* - Removed: Source references that were deleted
|
|
1824
|
+
*
|
|
1825
|
+
* Empty sets indicate no changes in that category.
|
|
1826
|
+
*
|
|
1827
|
+
* @i2since 1.9
|
|
1828
|
+
*/
|
|
1829
|
+
readonly sourceReferences?: {
|
|
1830
|
+
/**
|
|
1831
|
+
* Gets the source reference IDs for source references that were added to the record.
|
|
1832
|
+
* @i2since 1.9
|
|
1833
|
+
*/
|
|
1834
|
+
readonly added: data.IReadOnlyCollection<data.SourceReferenceId>;
|
|
1835
|
+
/**
|
|
1836
|
+
* Gets the source reference IDs for source references whose content was changed.
|
|
1837
|
+
* @i2since 1.9
|
|
1838
|
+
*/
|
|
1839
|
+
readonly changed: data.IReadOnlyCollection<data.SourceReferenceId>;
|
|
1840
|
+
/**
|
|
1841
|
+
* Gets the source reference IDs for source references that were removed from the record.
|
|
1842
|
+
* @i2since 1.9
|
|
1843
|
+
*/
|
|
1844
|
+
readonly removed: data.IReadOnlyCollection<data.SourceReferenceId>;
|
|
1845
|
+
};
|
|
1846
|
+
}
|
|
1665
1847
|
/**
|
|
1666
1848
|
* A change that has occurred to the data in a chart.
|
|
1667
1849
|
* @i2since 1.0
|
|
@@ -1671,14 +1853,18 @@ export declare namespace chart {
|
|
|
1671
1853
|
* Gets the type of change (minor or major) made to the chart.
|
|
1672
1854
|
*
|
|
1673
1855
|
* @remarks
|
|
1674
|
-
*
|
|
1675
|
-
*
|
|
1856
|
+
* The `type` field is always "minor" in current versions. The distinction between major and minor changes has been removed.
|
|
1857
|
+
* This field will be removed in the next major release.
|
|
1858
|
+
*
|
|
1859
|
+
* @deprecated This field will be removed in the next major release. All changes now report detailed affected elements and records.
|
|
1676
1860
|
* @i2since 1.0
|
|
1861
|
+
*
|
|
1677
1862
|
*/
|
|
1678
1863
|
readonly type: 'minor' | 'major';
|
|
1679
1864
|
}
|
|
1680
1865
|
/**
|
|
1681
1866
|
* A major change that has occurred to the data on a chart.
|
|
1867
|
+
* @deprecated Use {@link chart.IChartChange} instead. The `type` field is always "minor" and the distinction between major and minor changes has been removed. This interface will be removed in the next major release.
|
|
1682
1868
|
* @i2since 1.0
|
|
1683
1869
|
*/
|
|
1684
1870
|
export interface IChartChangeMajor extends IChartChangeBase {
|
|
@@ -1784,9 +1970,44 @@ export declare namespace chart {
|
|
|
1784
1970
|
*/
|
|
1785
1971
|
readonly removed: data.IReadOnlyCollection<visual.ElementId>;
|
|
1786
1972
|
};
|
|
1973
|
+
/**
|
|
1974
|
+
* Gets granular change details for records that changed in this chart update.
|
|
1975
|
+
*
|
|
1976
|
+
* @remarks
|
|
1977
|
+
* This optional field provides property-level change tracking for records.
|
|
1978
|
+
* When populated, it contains an entry for each record that changed, with detailed information about:
|
|
1979
|
+
* - Which properties were added, removed, or changed
|
|
1980
|
+
* - Which notes were added, changed, or removed
|
|
1981
|
+
* - Which source references were added, changed, or removed
|
|
1982
|
+
* *
|
|
1983
|
+
* **Usage Pattern:**
|
|
1984
|
+
* ```typescript
|
|
1985
|
+
* // New opt-in granularity
|
|
1986
|
+
* change.recordChanges?.forEach((recordId, changes) => {
|
|
1987
|
+
* if (changes.properties?.changed.size > 0) {
|
|
1988
|
+
* console.log('Properties changed for', recordId);
|
|
1989
|
+
* }
|
|
1990
|
+
* });
|
|
1991
|
+
* ```
|
|
1992
|
+
*
|
|
1993
|
+
* **Known Limitations:**
|
|
1994
|
+
* Changes to unfetched properties are not reported here.
|
|
1995
|
+
* - Security dimension changes are not included.
|
|
1996
|
+
* - If a record appears in `records.changed` but has no corresponding entry in `recordChanges`,
|
|
1997
|
+
* or if the entry shows empty sets for all categories, this may indicate unfetched property changes
|
|
1998
|
+
* or security-only edits.
|
|
1999
|
+
*
|
|
2000
|
+
* @i2since 1.9
|
|
2001
|
+
*/
|
|
2002
|
+
readonly recordChanges?: data.IKeyedReadOnlyCollection<records.AnalyzeRecordId, IRecordChanges>;
|
|
1787
2003
|
}
|
|
1788
2004
|
/**
|
|
1789
2005
|
* A change to the data in a chart in i2 Notebook.
|
|
2006
|
+
*
|
|
2007
|
+
* @remarks
|
|
2008
|
+
* Use this type for all chart change handling. The distinction between major and minor changes has been removed,
|
|
2009
|
+
* and all changes now report detailed information about affected elements and records.
|
|
2010
|
+
*
|
|
1790
2011
|
* @i2since 1.0
|
|
1791
2012
|
*/
|
|
1792
2013
|
export type IChartChange = IChartChangeMajor | IChartChangeMinor;
|
|
@@ -1972,6 +2193,11 @@ export declare namespace commands {
|
|
|
1972
2193
|
* @i2since 1.0
|
|
1973
2194
|
*/
|
|
1974
2195
|
export type CommandType = 'application' | 'records' | 'unscoped';
|
|
2196
|
+
/**
|
|
2197
|
+
* A type for a group of actions, which determines how the group is rendered in the user interface.
|
|
2198
|
+
* @i2since 1.9
|
|
2199
|
+
*/
|
|
2200
|
+
export type GroupType = 'expanded' | 'collapsed' | 'command';
|
|
1975
2201
|
/**
|
|
1976
2202
|
* A mapping of command types to their payload types.
|
|
1977
2203
|
* @i2since 1.0
|
|
@@ -2392,6 +2618,12 @@ export declare namespace commands {
|
|
|
2392
2618
|
readonly id: GroupId;
|
|
2393
2619
|
/**
|
|
2394
2620
|
* Indicates whether the group is initially expanded (`false`) or collapsed (`true`) in the user interface.
|
|
2621
|
+
*
|
|
2622
|
+
* @remarks
|
|
2623
|
+
* This is deprecated in favour of the more explicit {@link commands.IGroup."type"} property.
|
|
2624
|
+
* When migrating, use `type: 'collapsed'` instead of `isCollapsed: true`, and `type: 'expanded'` instead of
|
|
2625
|
+
* `isCollapsed: false` or omitting the property.
|
|
2626
|
+
* @deprecated Deprecated since version 1.9. Use {@link commands.IGroup."type"} instead.
|
|
2395
2627
|
* @i2since 1.5
|
|
2396
2628
|
*/
|
|
2397
2629
|
readonly isCollapsed?: boolean;
|
|
@@ -2411,6 +2643,19 @@ export declare namespace commands {
|
|
|
2411
2643
|
* @i2since 1.0
|
|
2412
2644
|
*/
|
|
2413
2645
|
readonly label?: string;
|
|
2646
|
+
/**
|
|
2647
|
+
* Gets the render type of the group.
|
|
2648
|
+
*
|
|
2649
|
+
* @remarks
|
|
2650
|
+
* Use this property to explicitly control how the group is presented in the user interface. The options are:
|
|
2651
|
+
* - `'expanded'` - shows all commands inline (default)
|
|
2652
|
+
* - `'collapsed'` - shows the group as a single icon/label button that opens a dropdown
|
|
2653
|
+
* - `'command'` - indicates the group exposes a primary action (the first surfaced command) while also presenting a menu of related actions; user may render this as a split button in a ribbon, or as an actionable menu entry with a submenu in popup menus.
|
|
2654
|
+
*
|
|
2655
|
+
* If `type` is specified it takes precedence over the deprecated {@link commands.IGroupBase.isCollapsed} boolean.
|
|
2656
|
+
* @i2since 1.9
|
|
2657
|
+
*/
|
|
2658
|
+
readonly type?: GroupType;
|
|
2414
2659
|
}
|
|
2415
2660
|
/**
|
|
2416
2661
|
* A group of actions in a popup menu that do not have a label or an icon.
|
|
@@ -2714,35 +2959,95 @@ export declare namespace commands {
|
|
|
2714
2959
|
*/
|
|
2715
2960
|
readonly groupNodes: CommandId;
|
|
2716
2961
|
/**
|
|
2717
|
-
* Gets the identifier of the system command that performs a grouped layout.
|
|
2962
|
+
* Gets the identifier of the system command that performs a grouped layout on the whole chart.
|
|
2718
2963
|
* @i2since 1.0
|
|
2719
2964
|
*/
|
|
2720
2965
|
readonly layoutGrouped: CommandId;
|
|
2721
2966
|
/**
|
|
2722
|
-
* Gets the identifier of the system command that performs a
|
|
2967
|
+
* Gets the identifier of the system command that performs a grouped layout on the current selection.
|
|
2968
|
+
* @i2since 1.9
|
|
2969
|
+
*/
|
|
2970
|
+
readonly layoutGroupedOnSelection: CommandId;
|
|
2971
|
+
/**
|
|
2972
|
+
* Gets the identifier of the system command that performs a grouped layout within a group.
|
|
2973
|
+
* @i2since 1.9
|
|
2974
|
+
*/
|
|
2975
|
+
readonly layoutGroupedWithinGroup: CommandId;
|
|
2976
|
+
/**
|
|
2977
|
+
* Gets the identifier of the system command that performs a packed layout on the whole chart.
|
|
2723
2978
|
* @i2since 1.0
|
|
2724
2979
|
*/
|
|
2725
2980
|
readonly layoutPacked: CommandId;
|
|
2726
2981
|
/**
|
|
2727
|
-
* Gets the identifier of the system command that performs a
|
|
2982
|
+
* Gets the identifier of the system command that performs a packed layout on the current selection.
|
|
2983
|
+
* @i2since 1.9
|
|
2984
|
+
*/
|
|
2985
|
+
readonly layoutPackedOnSelection: CommandId;
|
|
2986
|
+
/**
|
|
2987
|
+
* Gets the identifier of the system command that performs a packed layout within a group.
|
|
2988
|
+
* @i2since 1.9
|
|
2989
|
+
*/
|
|
2990
|
+
readonly layoutPackedWithinGroup: CommandId;
|
|
2991
|
+
/**
|
|
2992
|
+
* Gets the identifier of the system command that performs a peacock layout on the whole chart.
|
|
2728
2993
|
* @i2since 1.0
|
|
2729
2994
|
*/
|
|
2730
2995
|
readonly layoutPeacock: CommandId;
|
|
2731
2996
|
/**
|
|
2732
|
-
* Gets the identifier of the system command that performs a
|
|
2997
|
+
* Gets the identifier of the system command that performs a peacock layout on the current selection.
|
|
2998
|
+
* @i2since 1.9
|
|
2999
|
+
*/
|
|
3000
|
+
readonly layoutPeacockOnSelection: CommandId;
|
|
3001
|
+
/**
|
|
3002
|
+
* Gets the identifier of the system command that performs a peacock layout within a group.
|
|
3003
|
+
* @i2since 1.9
|
|
3004
|
+
*/
|
|
3005
|
+
readonly layoutPeacockWithinGroup: CommandId;
|
|
3006
|
+
/**
|
|
3007
|
+
* Gets the identifier of the system command that performs a circular layout on the whole chart.
|
|
2733
3008
|
* @i2since 1.8
|
|
2734
3009
|
*/
|
|
2735
3010
|
readonly layoutCircular: CommandId;
|
|
2736
3011
|
/**
|
|
2737
|
-
* Gets the identifier of the system command that performs
|
|
3012
|
+
* Gets the identifier of the system command that performs a circular layout on the current selection.
|
|
3013
|
+
* @i2since 1.9
|
|
3014
|
+
*/
|
|
3015
|
+
readonly layoutCircularOnSelection: CommandId;
|
|
3016
|
+
/**
|
|
3017
|
+
* Gets the identifier of the system command that performs a circular layout within a group.
|
|
3018
|
+
* @i2since 1.9
|
|
3019
|
+
*/
|
|
3020
|
+
readonly layoutCircularWithinGroup: CommandId;
|
|
3021
|
+
/**
|
|
3022
|
+
* Gets the identifier of the system command that performs an organization layout on the whole chart.
|
|
2738
3023
|
* @i2since 1.8
|
|
2739
3024
|
*/
|
|
2740
3025
|
readonly layoutOrganization: CommandId;
|
|
2741
3026
|
/**
|
|
2742
|
-
* Gets the identifier of the system command that performs
|
|
3027
|
+
* Gets the identifier of the system command that performs an organization layout on the current selection.
|
|
3028
|
+
* @i2since 1.9
|
|
3029
|
+
*/
|
|
3030
|
+
readonly layoutOrganizationOnSelection: CommandId;
|
|
3031
|
+
/**
|
|
3032
|
+
* Gets the identifier of the system command that performs an organization layout within a group.
|
|
3033
|
+
* @i2since 1.9
|
|
3034
|
+
*/
|
|
3035
|
+
readonly layoutOrganizationWithinGroup: CommandId;
|
|
3036
|
+
/**
|
|
3037
|
+
* Gets the identifier of the system command that performs a minimize crossed links layout on the whole chart.
|
|
2743
3038
|
* @i2since 1.8
|
|
2744
3039
|
*/
|
|
2745
3040
|
readonly layoutMinimizeCrossedLinks: CommandId;
|
|
3041
|
+
/**
|
|
3042
|
+
* Gets the identifier of the system command that performs a minimize crossed links layout on the current selection.
|
|
3043
|
+
* @i2since 1.9
|
|
3044
|
+
*/
|
|
3045
|
+
readonly layoutMinimizeCrossedLinksOnSelection: CommandId;
|
|
3046
|
+
/**
|
|
3047
|
+
* Gets the identifier of the system command that performs a minimize crossed links layout within a group.
|
|
3048
|
+
* @i2since 1.9
|
|
3049
|
+
*/
|
|
3050
|
+
readonly layoutMinimizeCrossedLinksWithinGroup: CommandId;
|
|
2746
3051
|
/**
|
|
2747
3052
|
* Gets the identifier of the system command that maximizes selected groups in the chart.
|
|
2748
3053
|
*
|
|
@@ -4341,7 +4646,7 @@ export declare interface NotebookStatic {
|
|
|
4341
4646
|
* @public
|
|
4342
4647
|
* @i2since 1.0
|
|
4343
4648
|
*/
|
|
4344
|
-
getEntryPointApi(pluginId: string, apiVersion: '1.0' | '1.1' | '1.2' | '1.3' | '1.4' | '1.5' | '1.6' | '1.7' | '1.8'): Promise<IEntryPointApi>;
|
|
4649
|
+
getEntryPointApi(pluginId: string, apiVersion: '1.0' | '1.1' | '1.2' | '1.3' | '1.4' | '1.5' | '1.6' | '1.7' | '1.8' | '1.9'): Promise<IEntryPointApi>;
|
|
4345
4650
|
}
|
|
4346
4651
|
|
|
4347
4652
|
/**
|
|
@@ -5797,6 +6102,11 @@ export declare namespace visual {
|
|
|
5797
6102
|
* @i2since 1.2
|
|
5798
6103
|
*/
|
|
5799
6104
|
export type NodeSize = 0.5 | 1 | 2 | 3 | 4;
|
|
6105
|
+
/**
|
|
6106
|
+
* The style of a line on an i2 Notebook chart. The default value is `'solid'`.
|
|
6107
|
+
* @i2since 1.9
|
|
6108
|
+
*/
|
|
6109
|
+
export type LineStyle = 'solid' | 'dashed' | 'dotted' | 'dash-dot' | 'dash-dot-dot';
|
|
5800
6110
|
/**
|
|
5801
6111
|
* A label for an element.
|
|
5802
6112
|
* @i2since 1.5
|
|
@@ -5999,6 +6309,21 @@ export declare namespace visual {
|
|
|
5999
6309
|
* @i2since 1.2
|
|
6000
6310
|
*/
|
|
6001
6311
|
readonly size: IElementSetting<NodeSize>;
|
|
6312
|
+
/**
|
|
6313
|
+
* Gets the border color of the node.
|
|
6314
|
+
* @i2since 1.9
|
|
6315
|
+
*/
|
|
6316
|
+
readonly borderColor: IElementSetting<string>;
|
|
6317
|
+
/**
|
|
6318
|
+
* Gets the border width of the node.
|
|
6319
|
+
* @i2since 1.9
|
|
6320
|
+
*/
|
|
6321
|
+
readonly borderWidth: IElementSetting<number>;
|
|
6322
|
+
/**
|
|
6323
|
+
* Gets the border style of the node, or null if there is no border.
|
|
6324
|
+
* @i2since 1.9
|
|
6325
|
+
*/
|
|
6326
|
+
readonly borderStyle: IElementSetting<LineStyle | null>;
|
|
6002
6327
|
}
|
|
6003
6328
|
/**
|
|
6004
6329
|
* A style for an edge, which affects its appearance.
|
|
@@ -6010,6 +6335,11 @@ export declare namespace visual {
|
|
|
6010
6335
|
* @i2since 1.8
|
|
6011
6336
|
*/
|
|
6012
6337
|
readonly width: IElementSetting<number>;
|
|
6338
|
+
/**
|
|
6339
|
+
* Gets the line style of the edge.
|
|
6340
|
+
* @i2since 1.9
|
|
6341
|
+
*/
|
|
6342
|
+
readonly lineStyle: IElementSetting<LineStyle>;
|
|
6013
6343
|
}
|
|
6014
6344
|
/**
|
|
6015
6345
|
* A rectangular area, such as the boundary of the chart view.
|
|
@@ -6114,15 +6444,20 @@ export declare namespace visual {
|
|
|
6114
6444
|
*/
|
|
6115
6445
|
readonly color: IElementSetting<string | null>;
|
|
6116
6446
|
/**
|
|
6117
|
-
* Gets the border color of the node group
|
|
6447
|
+
* Gets the border color of the node group.
|
|
6118
6448
|
* @i2since 1.8
|
|
6119
6449
|
*/
|
|
6120
|
-
readonly borderColor: IElementSetting<string
|
|
6450
|
+
readonly borderColor: IElementSetting<string>;
|
|
6121
6451
|
/**
|
|
6122
6452
|
* Gets the border width of the node group.
|
|
6123
6453
|
* @i2since 1.8
|
|
6124
6454
|
*/
|
|
6125
6455
|
readonly borderWidth: IElementSetting<number>;
|
|
6456
|
+
/**
|
|
6457
|
+
* Gets the border style of the node group, or null if there is no border.
|
|
6458
|
+
* @i2since 1.9
|
|
6459
|
+
*/
|
|
6460
|
+
readonly borderStyle: IElementSetting<LineStyle | null>;
|
|
6126
6461
|
}
|
|
6127
6462
|
}
|
|
6128
6463
|
|
package/lib/index.js
CHANGED