@i2analyze/notebook-sdk 1.9.0-dev.0 → 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 +381 -17
- package/lib/index.js +1 -1
- package/package.json +1 -1
|
@@ -526,8 +526,37 @@ export declare namespace app {
|
|
|
526
526
|
* @i2since 1.1
|
|
527
527
|
*/
|
|
528
528
|
export interface IUntrackedMutations extends IMutationsBase {
|
|
529
|
+
/**
|
|
530
|
+
* Gets an object with methods for editing the appearance of a node.
|
|
531
|
+
*
|
|
532
|
+
* @remarks
|
|
533
|
+
* Untracked edits apply only locally and are not persisted to the server.
|
|
534
|
+
* Any changes are lost on page or chart reload.
|
|
535
|
+
*
|
|
536
|
+
* @param node - The node to be edited.
|
|
537
|
+
* @returns The node-editing object.
|
|
538
|
+
* @i2since 1.9
|
|
539
|
+
*/
|
|
540
|
+
editNode(node: NodeSpecifier): INodeEditor;
|
|
541
|
+
/**
|
|
542
|
+
* Gets an object with methods for editing the appearance of an edge.
|
|
543
|
+
*
|
|
544
|
+
* @remarks
|
|
545
|
+
* Untracked edits apply only locally and are not persisted to the server.
|
|
546
|
+
* Any changes are lost on page or chart reload.
|
|
547
|
+
*
|
|
548
|
+
* @param edge - The edge to be edited.
|
|
549
|
+
* @returns The edge-editing object.
|
|
550
|
+
* @i2since 1.9
|
|
551
|
+
*/
|
|
552
|
+
editEdge(edge: EdgeSpecifier): IEdgeEditor;
|
|
529
553
|
/**
|
|
530
554
|
* Gets an object with methods for editing the appearance of an edge summary.
|
|
555
|
+
*
|
|
556
|
+
* @remarks
|
|
557
|
+
* Untracked edits apply only locally and are not persisted to the server.
|
|
558
|
+
* Any changes to edge summaries are persisted to the browser only.
|
|
559
|
+
*
|
|
531
560
|
* @param edge - The edge summary to edit.
|
|
532
561
|
* @returns The edge-summary-editing object.
|
|
533
562
|
* @i2since 1.6
|
|
@@ -715,6 +744,32 @@ export declare namespace app {
|
|
|
715
744
|
* @i2since 1.5
|
|
716
745
|
*/
|
|
717
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;
|
|
718
773
|
}
|
|
719
774
|
/**
|
|
720
775
|
* A set of methods for modifying the appearance of an edge.
|
|
@@ -729,6 +784,14 @@ export declare namespace app {
|
|
|
729
784
|
* @i2since 1.8
|
|
730
785
|
*/
|
|
731
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;
|
|
732
795
|
}
|
|
733
796
|
/**
|
|
734
797
|
* A set of methods for modifying the contents and position of a node group.
|
|
@@ -746,22 +809,29 @@ export declare namespace app {
|
|
|
746
809
|
/**
|
|
747
810
|
* Sets or resets the color of the node group.
|
|
748
811
|
*
|
|
749
|
-
* @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.
|
|
750
813
|
* @returns The node group, with its border color set to the specified value.
|
|
751
|
-
* @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.
|
|
752
815
|
* @i2since 1.8
|
|
753
816
|
*/
|
|
754
|
-
setBorderColor(color: string | undefined
|
|
817
|
+
setBorderColor(color: string | undefined): this;
|
|
755
818
|
/**
|
|
756
819
|
* Sets or resets the border width of the node group.
|
|
757
820
|
*
|
|
758
|
-
* @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.
|
|
759
822
|
* @returns The node group, with its border width set to the specified value.
|
|
760
|
-
* @throws `Error` if the specified value is
|
|
761
|
-
* @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.
|
|
762
824
|
* @i2since 1.8
|
|
763
825
|
*/
|
|
764
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;
|
|
765
835
|
/**
|
|
766
836
|
* Sets or resets the background color of the node group.
|
|
767
837
|
*
|
|
@@ -1431,6 +1501,7 @@ export declare namespace app {
|
|
|
1431
1501
|
}
|
|
1432
1502
|
/**
|
|
1433
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.
|
|
1434
1505
|
* @i2since 1.0
|
|
1435
1506
|
*/
|
|
1436
1507
|
export type ThemeName = 'carbonwhite' | 'carbongray10' | 'carbongray90' | 'carbongray100';
|
|
@@ -1441,6 +1512,7 @@ export declare namespace app {
|
|
|
1441
1512
|
export interface ITheme {
|
|
1442
1513
|
/**
|
|
1443
1514
|
* Gets the name of the theme.
|
|
1515
|
+
* @deprecated Use {@link app.ITheme.appearance | appearance} to determine the application theme instead.
|
|
1444
1516
|
* @i2since 1.0
|
|
1445
1517
|
*/
|
|
1446
1518
|
readonly themeName: ThemeName;
|
|
@@ -1633,6 +1705,145 @@ export declare namespace chart {
|
|
|
1633
1705
|
*/
|
|
1634
1706
|
getRecordsOfType(itemType: schema.ChartItemTypeSpecifier): data.IReadOnlyCollection<records.IChartRecord>;
|
|
1635
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
|
+
}
|
|
1636
1847
|
/**
|
|
1637
1848
|
* A change that has occurred to the data in a chart.
|
|
1638
1849
|
* @i2since 1.0
|
|
@@ -1642,14 +1853,18 @@ export declare namespace chart {
|
|
|
1642
1853
|
* Gets the type of change (minor or major) made to the chart.
|
|
1643
1854
|
*
|
|
1644
1855
|
* @remarks
|
|
1645
|
-
*
|
|
1646
|
-
*
|
|
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.
|
|
1647
1860
|
* @i2since 1.0
|
|
1861
|
+
*
|
|
1648
1862
|
*/
|
|
1649
1863
|
readonly type: 'minor' | 'major';
|
|
1650
1864
|
}
|
|
1651
1865
|
/**
|
|
1652
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.
|
|
1653
1868
|
* @i2since 1.0
|
|
1654
1869
|
*/
|
|
1655
1870
|
export interface IChartChangeMajor extends IChartChangeBase {
|
|
@@ -1755,9 +1970,44 @@ export declare namespace chart {
|
|
|
1755
1970
|
*/
|
|
1756
1971
|
readonly removed: data.IReadOnlyCollection<visual.ElementId>;
|
|
1757
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>;
|
|
1758
2003
|
}
|
|
1759
2004
|
/**
|
|
1760
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
|
+
*
|
|
1761
2011
|
* @i2since 1.0
|
|
1762
2012
|
*/
|
|
1763
2013
|
export type IChartChange = IChartChangeMajor | IChartChangeMinor;
|
|
@@ -1943,6 +2193,11 @@ export declare namespace commands {
|
|
|
1943
2193
|
* @i2since 1.0
|
|
1944
2194
|
*/
|
|
1945
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';
|
|
1946
2201
|
/**
|
|
1947
2202
|
* A mapping of command types to their payload types.
|
|
1948
2203
|
* @i2since 1.0
|
|
@@ -2363,6 +2618,12 @@ export declare namespace commands {
|
|
|
2363
2618
|
readonly id: GroupId;
|
|
2364
2619
|
/**
|
|
2365
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.
|
|
2366
2627
|
* @i2since 1.5
|
|
2367
2628
|
*/
|
|
2368
2629
|
readonly isCollapsed?: boolean;
|
|
@@ -2382,6 +2643,19 @@ export declare namespace commands {
|
|
|
2382
2643
|
* @i2since 1.0
|
|
2383
2644
|
*/
|
|
2384
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;
|
|
2385
2659
|
}
|
|
2386
2660
|
/**
|
|
2387
2661
|
* A group of actions in a popup menu that do not have a label or an icon.
|
|
@@ -2685,35 +2959,95 @@ export declare namespace commands {
|
|
|
2685
2959
|
*/
|
|
2686
2960
|
readonly groupNodes: CommandId;
|
|
2687
2961
|
/**
|
|
2688
|
-
* 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.
|
|
2689
2963
|
* @i2since 1.0
|
|
2690
2964
|
*/
|
|
2691
2965
|
readonly layoutGrouped: CommandId;
|
|
2692
2966
|
/**
|
|
2693
|
-
* 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.
|
|
2694
2978
|
* @i2since 1.0
|
|
2695
2979
|
*/
|
|
2696
2980
|
readonly layoutPacked: CommandId;
|
|
2697
2981
|
/**
|
|
2698
|
-
* 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.
|
|
2699
2993
|
* @i2since 1.0
|
|
2700
2994
|
*/
|
|
2701
2995
|
readonly layoutPeacock: CommandId;
|
|
2702
2996
|
/**
|
|
2703
|
-
* 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.
|
|
2704
3008
|
* @i2since 1.8
|
|
2705
3009
|
*/
|
|
2706
3010
|
readonly layoutCircular: CommandId;
|
|
2707
3011
|
/**
|
|
2708
|
-
* 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.
|
|
2709
3023
|
* @i2since 1.8
|
|
2710
3024
|
*/
|
|
2711
3025
|
readonly layoutOrganization: CommandId;
|
|
2712
3026
|
/**
|
|
2713
|
-
* 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.
|
|
2714
3038
|
* @i2since 1.8
|
|
2715
3039
|
*/
|
|
2716
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;
|
|
2717
3051
|
/**
|
|
2718
3052
|
* Gets the identifier of the system command that maximizes selected groups in the chart.
|
|
2719
3053
|
*
|
|
@@ -4312,7 +4646,7 @@ export declare interface NotebookStatic {
|
|
|
4312
4646
|
* @public
|
|
4313
4647
|
* @i2since 1.0
|
|
4314
4648
|
*/
|
|
4315
|
-
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>;
|
|
4316
4650
|
}
|
|
4317
4651
|
|
|
4318
4652
|
/**
|
|
@@ -5768,6 +6102,11 @@ export declare namespace visual {
|
|
|
5768
6102
|
* @i2since 1.2
|
|
5769
6103
|
*/
|
|
5770
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';
|
|
5771
6110
|
/**
|
|
5772
6111
|
* A label for an element.
|
|
5773
6112
|
* @i2since 1.5
|
|
@@ -5970,6 +6309,21 @@ export declare namespace visual {
|
|
|
5970
6309
|
* @i2since 1.2
|
|
5971
6310
|
*/
|
|
5972
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>;
|
|
5973
6327
|
}
|
|
5974
6328
|
/**
|
|
5975
6329
|
* A style for an edge, which affects its appearance.
|
|
@@ -5981,6 +6335,11 @@ export declare namespace visual {
|
|
|
5981
6335
|
* @i2since 1.8
|
|
5982
6336
|
*/
|
|
5983
6337
|
readonly width: IElementSetting<number>;
|
|
6338
|
+
/**
|
|
6339
|
+
* Gets the line style of the edge.
|
|
6340
|
+
* @i2since 1.9
|
|
6341
|
+
*/
|
|
6342
|
+
readonly lineStyle: IElementSetting<LineStyle>;
|
|
5984
6343
|
}
|
|
5985
6344
|
/**
|
|
5986
6345
|
* A rectangular area, such as the boundary of the chart view.
|
|
@@ -6085,15 +6444,20 @@ export declare namespace visual {
|
|
|
6085
6444
|
*/
|
|
6086
6445
|
readonly color: IElementSetting<string | null>;
|
|
6087
6446
|
/**
|
|
6088
|
-
* Gets the border color of the node group
|
|
6447
|
+
* Gets the border color of the node group.
|
|
6089
6448
|
* @i2since 1.8
|
|
6090
6449
|
*/
|
|
6091
|
-
readonly borderColor: IElementSetting<string
|
|
6450
|
+
readonly borderColor: IElementSetting<string>;
|
|
6092
6451
|
/**
|
|
6093
6452
|
* Gets the border width of the node group.
|
|
6094
6453
|
* @i2since 1.8
|
|
6095
6454
|
*/
|
|
6096
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>;
|
|
6097
6461
|
}
|
|
6098
6462
|
}
|
|
6099
6463
|
|
package/lib/index.js
CHANGED