@sapui5/ts-types 1.136.18 → 1.136.19
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/package.json +1 -1
- package/types/index.d.ts +3 -3
- package/types/{mdc-1.136.9-d.ts → mdc-1.136.16-d.ts} +13 -6
- package/types/sap.chart.d.ts +1 -1
- package/types/sap.f.d.ts +1 -1
- package/types/sap.fe.base.d.ts +1 -1
- package/types/sap.fe.controls.d.ts +1 -1
- package/types/sap.fe.core.d.ts +1 -1
- package/types/sap.fe.ina.d.ts +1 -1
- package/types/sap.fe.macros.d.ts +2 -2
- package/types/sap.fe.navigation.d.ts +1 -1
- package/types/sap.fe.placeholder.d.ts +1 -1
- package/types/sap.fe.plugins.managecache.d.ts +1 -1
- package/types/sap.fe.templates.d.ts +1 -1
- package/types/sap.fe.test.d.ts +1 -1
- package/types/sap.fe.tools.d.ts +1 -1
- package/types/sap.gantt.d.ts +1 -1
- package/types/sap.insights.d.ts +1 -1
- package/types/sap.makit.d.ts +1 -1
- package/types/sap.me.d.ts +1 -1
- package/types/sap.ndc.d.ts +1 -1
- package/types/sap.sac.df.d.ts +1 -1
- package/types/sap.suite.ui.commons.d.ts +1176 -7
- package/types/sap.suite.ui.generic.template.d.ts +1 -1
- package/types/sap.suite.ui.microchart.d.ts +1 -1
- package/types/sap.tnt.d.ts +1 -1
- package/types/sap.ui.codeeditor.d.ts +1 -1
- package/types/sap.ui.commons.d.ts +1 -1
- package/types/sap.ui.comp.d.ts +1 -1
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.export.d.ts +1 -1
- package/types/sap.ui.fl.d.ts +1 -1
- package/types/sap.ui.integration.d.ts +1 -1
- package/types/sap.ui.layout.d.ts +1 -1
- package/types/sap.ui.richtexteditor.d.ts +1 -1
- package/types/sap.ui.rta.d.ts +1 -1
- package/types/sap.ui.suite.d.ts +1 -1
- package/types/sap.ui.support.d.ts +1 -1
- package/types/sap.ui.table.d.ts +1 -1
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +1 -1
- package/types/sap.ui.ux3.d.ts +1 -1
- package/types/sap.ui.webc.common.d.ts +1 -1
- package/types/sap.ui.webc.fiori.d.ts +1 -1
- package/types/sap.ui.webc.main.d.ts +1 -1
- package/types/sap.uiext.inbox.d.ts +1 -1
- package/types/sap.ushell.d.ts +1 -1
- package/types/sap.ushell_abap.d.ts +1 -1
- package/types/sap.uxap.d.ts +1 -1
- package/types/sap.viz.d.ts +1 -1
- package/types/sap.zen.commons.d.ts +29 -15
- package/types/sap.zen.crosstab.d.ts +15 -8
- package/types/sap.zen.dsh.d.ts +17 -9
- /package/types/{sap.ui.core.d.ts → core-1.136.16-d.ts} +0 -0
- /package/types/{sap.m.d.ts → mobile-1.136.16-d.ts} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.136.
|
|
1
|
+
// For Library Version: 1.136.13
|
|
2
2
|
|
|
3
3
|
declare module "sap/suite/ui/commons/collaboration/BaseHelperService" {
|
|
4
4
|
/**
|
|
@@ -3868,7 +3868,27 @@ declare namespace sap {
|
|
|
3868
3868
|
*/
|
|
3869
3869
|
interface $NoopLayoutSettings
|
|
3870
3870
|
extends sap.suite.ui.commons.networkgraph.layout
|
|
3871
|
-
.$LayoutAlgorithmSettings {
|
|
3871
|
+
.$LayoutAlgorithmSettings {
|
|
3872
|
+
/**
|
|
3873
|
+
* Enables advanced line routing algorithm that creates orthogonal bends along the pathfinding process for
|
|
3874
|
+
* line creation.
|
|
3875
|
+
*/
|
|
3876
|
+
enableOptimizedLineAlgorithm?:
|
|
3877
|
+
| boolean
|
|
3878
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
3879
|
+
| `{${string}}`;
|
|
3880
|
+
|
|
3881
|
+
/**
|
|
3882
|
+
* Defines how separate connected components should be arranged in the graph. Components can be arranged
|
|
3883
|
+
* either horizontally (side-by-side) or vertically (stacked).
|
|
3884
|
+
*
|
|
3885
|
+
* @since 1.136.19
|
|
3886
|
+
*/
|
|
3887
|
+
componentArrangement?:
|
|
3888
|
+
| sap.suite.ui.commons.networkgraph.ComponentArrangement
|
|
3889
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
3890
|
+
| `{${string}}`;
|
|
3891
|
+
}
|
|
3872
3892
|
|
|
3873
3893
|
/**
|
|
3874
3894
|
* Describes the settings that can be provided to the SwimLaneChainLayout constructor.
|
|
@@ -4648,9 +4668,6 @@ declare namespace sap {
|
|
|
4648
4668
|
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
4649
4669
|
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
4650
4670
|
* of the syntax of the settings object.
|
|
4651
|
-
*
|
|
4652
|
-
* This class does not have its own settings, but all settings applicable to the base type {@link sap.suite.ui.commons.networkgraph.layout.LayoutAlgorithm#constructor sap.suite.ui.commons.networkgraph.layout.LayoutAlgorithm }
|
|
4653
|
-
* can be used.
|
|
4654
4671
|
*/
|
|
4655
4672
|
constructor();
|
|
4656
4673
|
|
|
@@ -4688,17 +4705,85 @@ declare namespace sap {
|
|
|
4688
4705
|
* @returns Metadata object describing this class
|
|
4689
4706
|
*/
|
|
4690
4707
|
static getMetadata(): sap.ui.core.ElementMetadata;
|
|
4708
|
+
/**
|
|
4709
|
+
* Gets current value of property {@link #getComponentArrangement componentArrangement}.
|
|
4710
|
+
*
|
|
4711
|
+
* Defines how separate connected components should be arranged in the graph. Components can be arranged
|
|
4712
|
+
* either horizontally (side-by-side) or vertically (stacked).
|
|
4713
|
+
*
|
|
4714
|
+
* Default value is `Horizontal`.
|
|
4715
|
+
*
|
|
4716
|
+
* @since 1.136.19
|
|
4717
|
+
*
|
|
4718
|
+
* @returns Value of property `componentArrangement`
|
|
4719
|
+
*/
|
|
4720
|
+
getComponentArrangement(): sap.suite.ui.commons.networkgraph.ComponentArrangement;
|
|
4721
|
+
/**
|
|
4722
|
+
* Gets current value of property {@link #getEnableOptimizedLineAlgorithm enableOptimizedLineAlgorithm}.
|
|
4723
|
+
*
|
|
4724
|
+
* Enables advanced line routing algorithm that creates orthogonal bends along the pathfinding process for
|
|
4725
|
+
* line creation.
|
|
4726
|
+
*
|
|
4727
|
+
* Default value is `false`.
|
|
4728
|
+
*
|
|
4729
|
+
*
|
|
4730
|
+
* @returns Value of property `enableOptimizedLineAlgorithm`
|
|
4731
|
+
*/
|
|
4732
|
+
getEnableOptimizedLineAlgorithm(): boolean;
|
|
4691
4733
|
/**
|
|
4692
4734
|
* Specifies the type of layout algorithm that defines the visual features and layout of the network graph.
|
|
4735
|
+
*
|
|
4736
|
+
*
|
|
4737
|
+
* @returns The layout render type.
|
|
4693
4738
|
*/
|
|
4694
4739
|
getLayoutRenderType(): sap.suite.ui.commons.networkgraph.LayoutRenderType;
|
|
4695
4740
|
/**
|
|
4696
|
-
* Executes the layout algorithm.
|
|
4741
|
+
* Executes the layout algorithm. Automatically calculates initial positions for unpositioned nodes using
|
|
4742
|
+
* DependencyLayoutHelper, then normalizes line coordinates.
|
|
4697
4743
|
*
|
|
4698
4744
|
*
|
|
4699
4745
|
* @returns Task to get the layout calculated.
|
|
4700
4746
|
*/
|
|
4701
4747
|
layout(): sap.suite.ui.commons.networkgraph.layout.LayoutTask;
|
|
4748
|
+
/**
|
|
4749
|
+
* Sets a new value for property {@link #getComponentArrangement componentArrangement}.
|
|
4750
|
+
*
|
|
4751
|
+
* Defines how separate connected components should be arranged in the graph. Components can be arranged
|
|
4752
|
+
* either horizontally (side-by-side) or vertically (stacked).
|
|
4753
|
+
*
|
|
4754
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
4755
|
+
*
|
|
4756
|
+
* Default value is `Horizontal`.
|
|
4757
|
+
*
|
|
4758
|
+
* @since 1.136.19
|
|
4759
|
+
*
|
|
4760
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
4761
|
+
*/
|
|
4762
|
+
setComponentArrangement(
|
|
4763
|
+
/**
|
|
4764
|
+
* New value for property `componentArrangement`
|
|
4765
|
+
*/
|
|
4766
|
+
sComponentArrangement?: sap.suite.ui.commons.networkgraph.ComponentArrangement
|
|
4767
|
+
): this;
|
|
4768
|
+
/**
|
|
4769
|
+
* Sets a new value for property {@link #getEnableOptimizedLineAlgorithm enableOptimizedLineAlgorithm}.
|
|
4770
|
+
*
|
|
4771
|
+
* Enables advanced line routing algorithm that creates orthogonal bends along the pathfinding process for
|
|
4772
|
+
* line creation.
|
|
4773
|
+
*
|
|
4774
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
4775
|
+
*
|
|
4776
|
+
* Default value is `false`.
|
|
4777
|
+
*
|
|
4778
|
+
*
|
|
4779
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
4780
|
+
*/
|
|
4781
|
+
setEnableOptimizedLineAlgorithm(
|
|
4782
|
+
/**
|
|
4783
|
+
* New value for property `enableOptimizedLineAlgorithm`
|
|
4784
|
+
*/
|
|
4785
|
+
bEnableOptimizedLineAlgorithm?: boolean
|
|
4786
|
+
): this;
|
|
4702
4787
|
}
|
|
4703
4788
|
/**
|
|
4704
4789
|
* This algorithm uses the klay.js algorithm to rearrange the graph in grid form. It's suitable for process
|
|
@@ -4840,6 +4925,37 @@ declare namespace sap {
|
|
|
4840
4925
|
}
|
|
4841
4926
|
|
|
4842
4927
|
namespace util {
|
|
4928
|
+
/**
|
|
4929
|
+
* Utility class for calculating connection paths between nodes in network graphs. This utility provides
|
|
4930
|
+
* a method to normalize lines and calculate path coordinates based on different connection types.
|
|
4931
|
+
*
|
|
4932
|
+
* @since 1.136.19
|
|
4933
|
+
*/
|
|
4934
|
+
interface ConnectionPathUtils {}
|
|
4935
|
+
|
|
4936
|
+
/**
|
|
4937
|
+
* Utility class for calculating node positions based on dependency relationships. This utility arranges
|
|
4938
|
+
* nodes based on their dependency relationships using topological sorting, cycle detection, and layer-based
|
|
4939
|
+
* positioning.
|
|
4940
|
+
*
|
|
4941
|
+
* Why a node may be positioned incorrectly after recalculation: After each run, node positions are cached
|
|
4942
|
+
* with a flag indicating whether the user moved them (`bIsUserPositioned`). On the next call, nodes flagged
|
|
4943
|
+
* as user-positioned are preserved as-is, and the algorithm-placed nodes are recalculated. A node appears
|
|
4944
|
+
* in the wrong place if it is unexpectedly treated as user-positioned, most commonly because `clearCache:
|
|
4945
|
+
* true` was passed. It wipes the cache, but leaves the coordinates intact. So every node with non-zero
|
|
4946
|
+
* coordinates is immediately re-classified as user-positioned and freezes, rather than being recalculated.
|
|
4947
|
+
*
|
|
4948
|
+
* Drag and drop recalculation - correct pattern: Call `resetNode(oNode)` for each dragged node, then call
|
|
4949
|
+
* `calculatePositions` without `clearCache` (default `false`). `resetNode` evicts the node from the cache
|
|
4950
|
+
* and zeros its coordinates, so only that node is repositioned; all the other nodes remain stable.
|
|
4951
|
+
*
|
|
4952
|
+
* Sentinel value: Coordinates `(0, 0)` mean "unpositioned". To place a node at the canvas origin, use `(0.1,
|
|
4953
|
+
* 0.1)` or `(1, 1)` instead.
|
|
4954
|
+
*
|
|
4955
|
+
* @since 1.136.19
|
|
4956
|
+
*/
|
|
4957
|
+
interface DependencyLayoutHelper {}
|
|
4958
|
+
|
|
4843
4959
|
/**
|
|
4844
4960
|
* This algorithm uses Dijkstra's algorithm to compute the shortest possible paths from the starting point
|
|
4845
4961
|
* node to all other nodes in the graph and arrange them accordingly.
|
|
@@ -5128,6 +5244,89 @@ declare namespace sap {
|
|
|
5128
5244
|
*/
|
|
5129
5245
|
noDataText?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
5130
5246
|
|
|
5247
|
+
/**
|
|
5248
|
+
* Set this property to `true` to display a loading indicator while the data loads.
|
|
5249
|
+
*
|
|
5250
|
+
* @since 1.136.19
|
|
5251
|
+
*/
|
|
5252
|
+
loading?:
|
|
5253
|
+
| boolean
|
|
5254
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
5255
|
+
| `{${string}}`;
|
|
5256
|
+
|
|
5257
|
+
/**
|
|
5258
|
+
* Text that is displayed when the loading is set.
|
|
5259
|
+
* This property takes effect only when the `loading` property is set to `true`.
|
|
5260
|
+
*
|
|
5261
|
+
* @since 1.136.19
|
|
5262
|
+
*/
|
|
5263
|
+
loadingText?:
|
|
5264
|
+
| string
|
|
5265
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
5266
|
+
|
|
5267
|
+
/**
|
|
5268
|
+
* Enables the drag and drop of nodes. This property is ignored if the layout property is not set to noop.
|
|
5269
|
+
* If set to `true`, nodes can be dragged and dropped within the graph.
|
|
5270
|
+
*
|
|
5271
|
+
* @since 1.136.19
|
|
5272
|
+
*/
|
|
5273
|
+
enableDragAndDrop?:
|
|
5274
|
+
| boolean
|
|
5275
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
5276
|
+
| `{${string}}`;
|
|
5277
|
+
|
|
5278
|
+
/**
|
|
5279
|
+
* Specifies the ports that are to be displayed on nodes. Ports are used for creating connections between
|
|
5280
|
+
* nodes. Ports are available only when the layout algorithm is set to "NoopLayout", and when the drag and
|
|
5281
|
+
* drop is enabled. Otherwise, this property is ignored.
|
|
5282
|
+
*
|
|
5283
|
+
* @since 1.136.19
|
|
5284
|
+
*/
|
|
5285
|
+
nodePorts?: /* was: sap.suite.ui.commons.networkgraph.NodePorts */
|
|
5286
|
+
| any
|
|
5287
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
5288
|
+
| `{${string}}`;
|
|
5289
|
+
|
|
5290
|
+
/**
|
|
5291
|
+
* This action button is used to create connections between nodes as an accessible alternative to node ports.
|
|
5292
|
+
* The button is displayed on each node when the layout algorithm is set to "NoopLayout" and drag and drop
|
|
5293
|
+
* is enabled. shows the 'Create Connection' action button on node. If set to `false`, the button remains
|
|
5294
|
+
* hidden. Hide this button when you want to implement your own way of creating connections between nodes
|
|
5295
|
+
* as an accessible alternative to node ports.
|
|
5296
|
+
*
|
|
5297
|
+
* @since 1.136.19
|
|
5298
|
+
*/
|
|
5299
|
+
showCreateConnectionButton?:
|
|
5300
|
+
| boolean
|
|
5301
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
5302
|
+
| `{${string}}`;
|
|
5303
|
+
|
|
5304
|
+
/**
|
|
5305
|
+
* Mapping of connection types to their display text keys or custom text values. This allows customization
|
|
5306
|
+
* of how connection types are displayed in the connection creation popover. The mapping should be an object
|
|
5307
|
+
* where keys are connection type values (LeftToLeft, LeftToRight, RightToLeft, RightToRight) and values
|
|
5308
|
+
* are custom text that follows the correct format (e.g., "Start to End", "Source to Target"). If the format
|
|
5309
|
+
* is invalid or not provided, default values are used
|
|
5310
|
+
*
|
|
5311
|
+
* @since 1.136.19
|
|
5312
|
+
*/
|
|
5313
|
+
connectionTypeMapping?:
|
|
5314
|
+
| object
|
|
5315
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
5316
|
+
| `{${string}}`;
|
|
5317
|
+
|
|
5318
|
+
/**
|
|
5319
|
+
* Custom labels for element types displayed in the SearchField suggestions and Legend section headers.
|
|
5320
|
+
* Supported keys: nodeLabel, nodeLabelPlural, lineLabel, lineLabelPlural, groupLabel, groupLabelPlural.
|
|
5321
|
+
* Reverts to the default values for keys that are not set.
|
|
5322
|
+
*
|
|
5323
|
+
* @since 1.149
|
|
5324
|
+
*/
|
|
5325
|
+
labels?:
|
|
5326
|
+
| object
|
|
5327
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
5328
|
+
| `{${string}}`;
|
|
5329
|
+
|
|
5131
5330
|
/**
|
|
5132
5331
|
* Holds the lines to be displayed in the graph.
|
|
5133
5332
|
*/
|
|
@@ -5186,6 +5385,13 @@ declare namespace sap {
|
|
|
5186
5385
|
*/
|
|
5187
5386
|
ariaLabelledBy?: Array<sap.ui.core.Control | string>;
|
|
5188
5387
|
|
|
5388
|
+
/**
|
|
5389
|
+
* Control or ID of an auxiliary control associated with this graph.
|
|
5390
|
+
*
|
|
5391
|
+
* @since 1.136.19
|
|
5392
|
+
*/
|
|
5393
|
+
associatedControl?: sap.ui.core.Control | string;
|
|
5394
|
+
|
|
5189
5395
|
/**
|
|
5190
5396
|
* This event is fired when the graph is fully rendered.
|
|
5191
5397
|
*/
|
|
@@ -5225,6 +5431,38 @@ declare namespace sap {
|
|
|
5225
5431
|
* This event is fired when the user enters a keyword into the search field.
|
|
5226
5432
|
*/
|
|
5227
5433
|
search?: (oEvent: Graph$SearchEvent) => void;
|
|
5434
|
+
|
|
5435
|
+
/**
|
|
5436
|
+
* This event is fired when a user drops a node in the graph. This event is available only when the layout
|
|
5437
|
+
* algorithm is set to "NoopLayout" and the `enableDragAndDrop` property is set to `true`.
|
|
5438
|
+
*
|
|
5439
|
+
* @since 1.136.19
|
|
5440
|
+
*/
|
|
5441
|
+
nodeDropped?: (oEvent: Graph$NodeDroppedEvent) => void;
|
|
5442
|
+
|
|
5443
|
+
/**
|
|
5444
|
+
* This event is fired when a new connection is created between two nodes by using node ports.
|
|
5445
|
+
*
|
|
5446
|
+
* @since 1.136.19
|
|
5447
|
+
*/
|
|
5448
|
+
connectionCreated?: (oEvent: Graph$ConnectionCreatedEvent) => void;
|
|
5449
|
+
|
|
5450
|
+
/**
|
|
5451
|
+
* This event is fired when a user presses the delete key on a focused node or line. This event is available
|
|
5452
|
+
* only when the layout algorithm is set to "NoopLayout" and the `enableDragAndDrop` property is set to
|
|
5453
|
+
* `true`.
|
|
5454
|
+
*
|
|
5455
|
+
* @since 1.136.19
|
|
5456
|
+
*/
|
|
5457
|
+
itemDeleted?: (oEvent: Graph$ItemDeletedEvent) => void;
|
|
5458
|
+
|
|
5459
|
+
/**
|
|
5460
|
+
* Fired when the user requests to add a node via INSERT or Ctrl+Alt+N. Only available when NoopLayout is
|
|
5461
|
+
* used and enableDragAndDrop is `true`.
|
|
5462
|
+
*
|
|
5463
|
+
* @since 1.136.19
|
|
5464
|
+
*/
|
|
5465
|
+
nodeAdded?: (oEvent: sap.ui.base.Event) => void;
|
|
5228
5466
|
}
|
|
5229
5467
|
|
|
5230
5468
|
/**
|
|
@@ -5402,6 +5640,33 @@ declare namespace sap {
|
|
|
5402
5640
|
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
5403
5641
|
| `{${string}}`;
|
|
5404
5642
|
|
|
5643
|
+
/**
|
|
5644
|
+
* Defines the connection type between the source and target nodes. Can be set to RightToLeft, LeftToRight,
|
|
5645
|
+
* TopToBottom, or BottomToTop using {@link sap.suite.ui.commons.networkgraph.ConnectionType ConnectionType }
|
|
5646
|
+
* enumeration. This property is used to determine how the line connects the source and target nodes. For
|
|
5647
|
+
* example, if set to RightToLeft, the line starts from the right side of the source node and end at the
|
|
5648
|
+
* left side of the target node. This property is valid only with the NoopLayout and drag and drop enabled
|
|
5649
|
+
* network graph.
|
|
5650
|
+
*
|
|
5651
|
+
* @since 1.136.19
|
|
5652
|
+
*/
|
|
5653
|
+
connectionType?: /* was: sap.suite.ui.commons.networkgraph.ConnectionType */
|
|
5654
|
+
| any
|
|
5655
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
5656
|
+
| `{${string}}`;
|
|
5657
|
+
|
|
5658
|
+
/**
|
|
5659
|
+
* Defines the text label to be displayed on the line.
|
|
5660
|
+
*
|
|
5661
|
+
* When set, displays the label text in a rounded rectangle box positioned near the target arrow. The label
|
|
5662
|
+
* is rendered only when all of the following conditions are met: - This property has a non-empty value
|
|
5663
|
+
* - The graph is using NoopLayout - The line's arrowPosition is set to "Both" - The line is long enough
|
|
5664
|
+
* to accommodate the label If this property is empty or not set, no label is displayed on the line
|
|
5665
|
+
*
|
|
5666
|
+
* @since 1.136.19
|
|
5667
|
+
*/
|
|
5668
|
+
labelName?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
5669
|
+
|
|
5405
5670
|
/**
|
|
5406
5671
|
* A list of points the line goes through. After the layouting algorithm has finished arranging the graph,
|
|
5407
5672
|
* this aggregation contains the coordinates of at least two points: the starting point and the end point
|
|
@@ -5625,6 +5890,31 @@ declare namespace sap {
|
|
|
5625
5890
|
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
5626
5891
|
| `{${string}}`;
|
|
5627
5892
|
|
|
5893
|
+
/**
|
|
5894
|
+
* Determines the port configuration for this node. When set, it overrides the graph-level nodePorts setting.
|
|
5895
|
+
* If not set (defaults to None), the graph-level setting is used. Ports are available only when the layout
|
|
5896
|
+
* algorithm is set to "NoopLayout", and when the drag and drop is enabled.
|
|
5897
|
+
*
|
|
5898
|
+
* @since 1.136.19
|
|
5899
|
+
*/
|
|
5900
|
+
nodePorts?: /* was: sap.suite.ui.commons.networkgraph.NodePorts */
|
|
5901
|
+
| any
|
|
5902
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
5903
|
+
| `{${string}}`;
|
|
5904
|
+
|
|
5905
|
+
/**
|
|
5906
|
+
* Determines whether the 'Create Connection' action button is displayed on this node. When set, it overrides
|
|
5907
|
+
* the graph-level showCreateConnectionButton setting. If set to default (true), the graph-level setting
|
|
5908
|
+
* is used. The button is used to create connections between nodes as an accessible alternative to node
|
|
5909
|
+
* ports.
|
|
5910
|
+
*
|
|
5911
|
+
* @since 1.136.19
|
|
5912
|
+
*/
|
|
5913
|
+
showCreateConnectionButton?:
|
|
5914
|
+
| boolean
|
|
5915
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
5916
|
+
| `{${string}}`;
|
|
5917
|
+
|
|
5628
5918
|
/**
|
|
5629
5919
|
* A list of links to be shown in the links area. A link may point to any UI5 control. It's up to the caller
|
|
5630
5920
|
* to set up all necessary callback functions.
|
|
@@ -5861,6 +6151,36 @@ declare namespace sap {
|
|
|
5861
6151
|
*/
|
|
5862
6152
|
interface Graph$BeforeLayoutingEventParameters {}
|
|
5863
6153
|
|
|
6154
|
+
/**
|
|
6155
|
+
* Parameters of the Graph#connectionCreated event.
|
|
6156
|
+
*/
|
|
6157
|
+
interface Graph$ConnectionCreatedEventParameters {
|
|
6158
|
+
/**
|
|
6159
|
+
* The key of the source node.
|
|
6160
|
+
*/
|
|
6161
|
+
from?: string;
|
|
6162
|
+
|
|
6163
|
+
/**
|
|
6164
|
+
* The key of the target node.
|
|
6165
|
+
*/
|
|
6166
|
+
to?: string;
|
|
6167
|
+
|
|
6168
|
+
/**
|
|
6169
|
+
* The connection type defining how the line connects the source and target nodes.
|
|
6170
|
+
*/
|
|
6171
|
+
connectionType?: /* was: sap.suite.ui.commons.networkgraph.ConnectionType */ any;
|
|
6172
|
+
|
|
6173
|
+
/**
|
|
6174
|
+
* The source node control instance.
|
|
6175
|
+
*/
|
|
6176
|
+
fromNode?: sap.suite.ui.commons.networkgraph.Node;
|
|
6177
|
+
|
|
6178
|
+
/**
|
|
6179
|
+
* The target node control instance.
|
|
6180
|
+
*/
|
|
6181
|
+
toNode?: sap.suite.ui.commons.networkgraph.Node;
|
|
6182
|
+
}
|
|
6183
|
+
|
|
5864
6184
|
/**
|
|
5865
6185
|
* Parameters of the Graph#failure event.
|
|
5866
6186
|
*/
|
|
@@ -5881,6 +6201,41 @@ declare namespace sap {
|
|
|
5881
6201
|
*/
|
|
5882
6202
|
interface Graph$GraphReadyEventParameters {}
|
|
5883
6203
|
|
|
6204
|
+
/**
|
|
6205
|
+
* Parameters of the Graph#itemDeleted event.
|
|
6206
|
+
*/
|
|
6207
|
+
interface Graph$ItemDeletedEventParameters {
|
|
6208
|
+
/**
|
|
6209
|
+
* The item (node or line) that is to be deleted.
|
|
6210
|
+
*/
|
|
6211
|
+
item?: sap.suite.ui.commons.networkgraph.ElementBase;
|
|
6212
|
+
}
|
|
6213
|
+
|
|
6214
|
+
/**
|
|
6215
|
+
* Parameters of the Graph#nodeAdded event.
|
|
6216
|
+
*/
|
|
6217
|
+
interface Graph$NodeAddedEventParameters {}
|
|
6218
|
+
|
|
6219
|
+
/**
|
|
6220
|
+
* Parameters of the Graph#nodeDropped event.
|
|
6221
|
+
*/
|
|
6222
|
+
interface Graph$NodeDroppedEventParameters {
|
|
6223
|
+
/**
|
|
6224
|
+
* The node that was moved.
|
|
6225
|
+
*/
|
|
6226
|
+
node?: sap.suite.ui.commons.networkgraph.Node;
|
|
6227
|
+
|
|
6228
|
+
/**
|
|
6229
|
+
* The new x coordinate of the node.
|
|
6230
|
+
*/
|
|
6231
|
+
newX?: float;
|
|
6232
|
+
|
|
6233
|
+
/**
|
|
6234
|
+
* The new y coordinate of the node.
|
|
6235
|
+
*/
|
|
6236
|
+
newY?: float;
|
|
6237
|
+
}
|
|
6238
|
+
|
|
5884
6239
|
/**
|
|
5885
6240
|
* Parameters of the Graph#search event.
|
|
5886
6241
|
*/
|
|
@@ -6988,6 +7343,59 @@ declare namespace sap {
|
|
|
6988
7343
|
*/
|
|
6989
7344
|
oListener?: object
|
|
6990
7345
|
): this;
|
|
7346
|
+
/**
|
|
7347
|
+
* Attaches event handler `fnFunction` to the {@link #event:connectionCreated connectionCreated} event of
|
|
7348
|
+
* this `sap.suite.ui.commons.networkgraph.Graph`.
|
|
7349
|
+
*
|
|
7350
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
7351
|
+
* otherwise it will be bound to this `sap.suite.ui.commons.networkgraph.Graph` itself.
|
|
7352
|
+
*
|
|
7353
|
+
* This event is fired when a new connection is created between two nodes by using node ports.
|
|
7354
|
+
*
|
|
7355
|
+
* @since 1.136.19
|
|
7356
|
+
*
|
|
7357
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
7358
|
+
*/
|
|
7359
|
+
attachConnectionCreated(
|
|
7360
|
+
/**
|
|
7361
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
7362
|
+
* object when firing the event
|
|
7363
|
+
*/
|
|
7364
|
+
oData: object,
|
|
7365
|
+
/**
|
|
7366
|
+
* The function to be called when the event occurs
|
|
7367
|
+
*/
|
|
7368
|
+
fnFunction: (p1: Graph$ConnectionCreatedEvent) => void,
|
|
7369
|
+
/**
|
|
7370
|
+
* Context object to call the event handler with. Defaults to this `sap.suite.ui.commons.networkgraph.Graph`
|
|
7371
|
+
* itself
|
|
7372
|
+
*/
|
|
7373
|
+
oListener?: object
|
|
7374
|
+
): this;
|
|
7375
|
+
/**
|
|
7376
|
+
* Attaches event handler `fnFunction` to the {@link #event:connectionCreated connectionCreated} event of
|
|
7377
|
+
* this `sap.suite.ui.commons.networkgraph.Graph`.
|
|
7378
|
+
*
|
|
7379
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
7380
|
+
* otherwise it will be bound to this `sap.suite.ui.commons.networkgraph.Graph` itself.
|
|
7381
|
+
*
|
|
7382
|
+
* This event is fired when a new connection is created between two nodes by using node ports.
|
|
7383
|
+
*
|
|
7384
|
+
* @since 1.136.19
|
|
7385
|
+
*
|
|
7386
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
7387
|
+
*/
|
|
7388
|
+
attachConnectionCreated(
|
|
7389
|
+
/**
|
|
7390
|
+
* The function to be called when the event occurs
|
|
7391
|
+
*/
|
|
7392
|
+
fnFunction: (p1: Graph$ConnectionCreatedEvent) => void,
|
|
7393
|
+
/**
|
|
7394
|
+
* Context object to call the event handler with. Defaults to this `sap.suite.ui.commons.networkgraph.Graph`
|
|
7395
|
+
* itself
|
|
7396
|
+
*/
|
|
7397
|
+
oListener?: object
|
|
7398
|
+
): this;
|
|
6991
7399
|
/**
|
|
6992
7400
|
* Attaches event handler `fnFunction` to the {@link #event:failure failure} event of this `sap.suite.ui.commons.networkgraph.Graph`.
|
|
6993
7401
|
*
|
|
@@ -7086,6 +7494,167 @@ declare namespace sap {
|
|
|
7086
7494
|
*/
|
|
7087
7495
|
oListener?: object
|
|
7088
7496
|
): this;
|
|
7497
|
+
/**
|
|
7498
|
+
* Attaches event handler `fnFunction` to the {@link #event:itemDeleted itemDeleted} event of this `sap.suite.ui.commons.networkgraph.Graph`.
|
|
7499
|
+
*
|
|
7500
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
7501
|
+
* otherwise it will be bound to this `sap.suite.ui.commons.networkgraph.Graph` itself.
|
|
7502
|
+
*
|
|
7503
|
+
* This event is fired when a user presses the delete key on a focused node or line. This event is available
|
|
7504
|
+
* only when the layout algorithm is set to "NoopLayout" and the `enableDragAndDrop` property is set to
|
|
7505
|
+
* `true`.
|
|
7506
|
+
*
|
|
7507
|
+
* @since 1.136.19
|
|
7508
|
+
*
|
|
7509
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
7510
|
+
*/
|
|
7511
|
+
attachItemDeleted(
|
|
7512
|
+
/**
|
|
7513
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
7514
|
+
* object when firing the event
|
|
7515
|
+
*/
|
|
7516
|
+
oData: object,
|
|
7517
|
+
/**
|
|
7518
|
+
* The function to be called when the event occurs
|
|
7519
|
+
*/
|
|
7520
|
+
fnFunction: (p1: Graph$ItemDeletedEvent) => void,
|
|
7521
|
+
/**
|
|
7522
|
+
* Context object to call the event handler with. Defaults to this `sap.suite.ui.commons.networkgraph.Graph`
|
|
7523
|
+
* itself
|
|
7524
|
+
*/
|
|
7525
|
+
oListener?: object
|
|
7526
|
+
): this;
|
|
7527
|
+
/**
|
|
7528
|
+
* Attaches event handler `fnFunction` to the {@link #event:itemDeleted itemDeleted} event of this `sap.suite.ui.commons.networkgraph.Graph`.
|
|
7529
|
+
*
|
|
7530
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
7531
|
+
* otherwise it will be bound to this `sap.suite.ui.commons.networkgraph.Graph` itself.
|
|
7532
|
+
*
|
|
7533
|
+
* This event is fired when a user presses the delete key on a focused node or line. This event is available
|
|
7534
|
+
* only when the layout algorithm is set to "NoopLayout" and the `enableDragAndDrop` property is set to
|
|
7535
|
+
* `true`.
|
|
7536
|
+
*
|
|
7537
|
+
* @since 1.136.19
|
|
7538
|
+
*
|
|
7539
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
7540
|
+
*/
|
|
7541
|
+
attachItemDeleted(
|
|
7542
|
+
/**
|
|
7543
|
+
* The function to be called when the event occurs
|
|
7544
|
+
*/
|
|
7545
|
+
fnFunction: (p1: Graph$ItemDeletedEvent) => void,
|
|
7546
|
+
/**
|
|
7547
|
+
* Context object to call the event handler with. Defaults to this `sap.suite.ui.commons.networkgraph.Graph`
|
|
7548
|
+
* itself
|
|
7549
|
+
*/
|
|
7550
|
+
oListener?: object
|
|
7551
|
+
): this;
|
|
7552
|
+
/**
|
|
7553
|
+
* Attaches event handler `fnFunction` to the {@link #event:nodeAdded nodeAdded} event of this `sap.suite.ui.commons.networkgraph.Graph`.
|
|
7554
|
+
*
|
|
7555
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
7556
|
+
* otherwise it will be bound to this `sap.suite.ui.commons.networkgraph.Graph` itself.
|
|
7557
|
+
*
|
|
7558
|
+
* Fired when the user requests to add a node via INSERT or Ctrl+Alt+N. Only available when NoopLayout is
|
|
7559
|
+
* used and enableDragAndDrop is `true`.
|
|
7560
|
+
*
|
|
7561
|
+
* @since 1.136.19
|
|
7562
|
+
*
|
|
7563
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
7564
|
+
*/
|
|
7565
|
+
attachNodeAdded(
|
|
7566
|
+
/**
|
|
7567
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
7568
|
+
* object when firing the event
|
|
7569
|
+
*/
|
|
7570
|
+
oData: object,
|
|
7571
|
+
/**
|
|
7572
|
+
* The function to be called when the event occurs
|
|
7573
|
+
*/
|
|
7574
|
+
fnFunction: (p1: sap.ui.base.Event) => void,
|
|
7575
|
+
/**
|
|
7576
|
+
* Context object to call the event handler with. Defaults to this `sap.suite.ui.commons.networkgraph.Graph`
|
|
7577
|
+
* itself
|
|
7578
|
+
*/
|
|
7579
|
+
oListener?: object
|
|
7580
|
+
): this;
|
|
7581
|
+
/**
|
|
7582
|
+
* Attaches event handler `fnFunction` to the {@link #event:nodeAdded nodeAdded} event of this `sap.suite.ui.commons.networkgraph.Graph`.
|
|
7583
|
+
*
|
|
7584
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
7585
|
+
* otherwise it will be bound to this `sap.suite.ui.commons.networkgraph.Graph` itself.
|
|
7586
|
+
*
|
|
7587
|
+
* Fired when the user requests to add a node via INSERT or Ctrl+Alt+N. Only available when NoopLayout is
|
|
7588
|
+
* used and enableDragAndDrop is `true`.
|
|
7589
|
+
*
|
|
7590
|
+
* @since 1.136.19
|
|
7591
|
+
*
|
|
7592
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
7593
|
+
*/
|
|
7594
|
+
attachNodeAdded(
|
|
7595
|
+
/**
|
|
7596
|
+
* The function to be called when the event occurs
|
|
7597
|
+
*/
|
|
7598
|
+
fnFunction: (p1: sap.ui.base.Event) => void,
|
|
7599
|
+
/**
|
|
7600
|
+
* Context object to call the event handler with. Defaults to this `sap.suite.ui.commons.networkgraph.Graph`
|
|
7601
|
+
* itself
|
|
7602
|
+
*/
|
|
7603
|
+
oListener?: object
|
|
7604
|
+
): this;
|
|
7605
|
+
/**
|
|
7606
|
+
* Attaches event handler `fnFunction` to the {@link #event:nodeDropped nodeDropped} event of this `sap.suite.ui.commons.networkgraph.Graph`.
|
|
7607
|
+
*
|
|
7608
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
7609
|
+
* otherwise it will be bound to this `sap.suite.ui.commons.networkgraph.Graph` itself.
|
|
7610
|
+
*
|
|
7611
|
+
* This event is fired when a user drops a node in the graph. This event is available only when the layout
|
|
7612
|
+
* algorithm is set to "NoopLayout" and the `enableDragAndDrop` property is set to `true`.
|
|
7613
|
+
*
|
|
7614
|
+
* @since 1.136.19
|
|
7615
|
+
*
|
|
7616
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
7617
|
+
*/
|
|
7618
|
+
attachNodeDropped(
|
|
7619
|
+
/**
|
|
7620
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
7621
|
+
* object when firing the event
|
|
7622
|
+
*/
|
|
7623
|
+
oData: object,
|
|
7624
|
+
/**
|
|
7625
|
+
* The function to be called when the event occurs
|
|
7626
|
+
*/
|
|
7627
|
+
fnFunction: (p1: Graph$NodeDroppedEvent) => void,
|
|
7628
|
+
/**
|
|
7629
|
+
* Context object to call the event handler with. Defaults to this `sap.suite.ui.commons.networkgraph.Graph`
|
|
7630
|
+
* itself
|
|
7631
|
+
*/
|
|
7632
|
+
oListener?: object
|
|
7633
|
+
): this;
|
|
7634
|
+
/**
|
|
7635
|
+
* Attaches event handler `fnFunction` to the {@link #event:nodeDropped nodeDropped} event of this `sap.suite.ui.commons.networkgraph.Graph`.
|
|
7636
|
+
*
|
|
7637
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
7638
|
+
* otherwise it will be bound to this `sap.suite.ui.commons.networkgraph.Graph` itself.
|
|
7639
|
+
*
|
|
7640
|
+
* This event is fired when a user drops a node in the graph. This event is available only when the layout
|
|
7641
|
+
* algorithm is set to "NoopLayout" and the `enableDragAndDrop` property is set to `true`.
|
|
7642
|
+
*
|
|
7643
|
+
* @since 1.136.19
|
|
7644
|
+
*
|
|
7645
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
7646
|
+
*/
|
|
7647
|
+
attachNodeDropped(
|
|
7648
|
+
/**
|
|
7649
|
+
* The function to be called when the event occurs
|
|
7650
|
+
*/
|
|
7651
|
+
fnFunction: (p1: Graph$NodeDroppedEvent) => void,
|
|
7652
|
+
/**
|
|
7653
|
+
* Context object to call the event handler with. Defaults to this `sap.suite.ui.commons.networkgraph.Graph`
|
|
7654
|
+
* itself
|
|
7655
|
+
*/
|
|
7656
|
+
oListener?: object
|
|
7657
|
+
): this;
|
|
7089
7658
|
/**
|
|
7090
7659
|
* Attaches event handler `fnFunction` to the {@link #event:search search} event of this `sap.suite.ui.commons.networkgraph.Graph`.
|
|
7091
7660
|
*
|
|
@@ -7381,6 +7950,26 @@ declare namespace sap {
|
|
|
7381
7950
|
*/
|
|
7382
7951
|
oListener?: object
|
|
7383
7952
|
): this;
|
|
7953
|
+
/**
|
|
7954
|
+
* Detaches event handler `fnFunction` from the {@link #event:connectionCreated connectionCreated} event
|
|
7955
|
+
* of this `sap.suite.ui.commons.networkgraph.Graph`.
|
|
7956
|
+
*
|
|
7957
|
+
* The passed function and listener object must match the ones used for event registration.
|
|
7958
|
+
*
|
|
7959
|
+
* @since 1.136.19
|
|
7960
|
+
*
|
|
7961
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
7962
|
+
*/
|
|
7963
|
+
detachConnectionCreated(
|
|
7964
|
+
/**
|
|
7965
|
+
* The function to be called, when the event occurs
|
|
7966
|
+
*/
|
|
7967
|
+
fnFunction: (p1: Graph$ConnectionCreatedEvent) => void,
|
|
7968
|
+
/**
|
|
7969
|
+
* Context object on which the given function had to be called
|
|
7970
|
+
*/
|
|
7971
|
+
oListener?: object
|
|
7972
|
+
): this;
|
|
7384
7973
|
/**
|
|
7385
7974
|
* Detaches event handler `fnFunction` from the {@link #event:failure failure} event of this `sap.suite.ui.commons.networkgraph.Graph`.
|
|
7386
7975
|
*
|
|
@@ -7417,6 +8006,63 @@ declare namespace sap {
|
|
|
7417
8006
|
*/
|
|
7418
8007
|
oListener?: object
|
|
7419
8008
|
): this;
|
|
8009
|
+
/**
|
|
8010
|
+
* Detaches event handler `fnFunction` from the {@link #event:itemDeleted itemDeleted} event of this `sap.suite.ui.commons.networkgraph.Graph`.
|
|
8011
|
+
*
|
|
8012
|
+
* The passed function and listener object must match the ones used for event registration.
|
|
8013
|
+
*
|
|
8014
|
+
* @since 1.136.19
|
|
8015
|
+
*
|
|
8016
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
8017
|
+
*/
|
|
8018
|
+
detachItemDeleted(
|
|
8019
|
+
/**
|
|
8020
|
+
* The function to be called, when the event occurs
|
|
8021
|
+
*/
|
|
8022
|
+
fnFunction: (p1: Graph$ItemDeletedEvent) => void,
|
|
8023
|
+
/**
|
|
8024
|
+
* Context object on which the given function had to be called
|
|
8025
|
+
*/
|
|
8026
|
+
oListener?: object
|
|
8027
|
+
): this;
|
|
8028
|
+
/**
|
|
8029
|
+
* Detaches event handler `fnFunction` from the {@link #event:nodeAdded nodeAdded} event of this `sap.suite.ui.commons.networkgraph.Graph`.
|
|
8030
|
+
*
|
|
8031
|
+
* The passed function and listener object must match the ones used for event registration.
|
|
8032
|
+
*
|
|
8033
|
+
* @since 1.136.19
|
|
8034
|
+
*
|
|
8035
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
8036
|
+
*/
|
|
8037
|
+
detachNodeAdded(
|
|
8038
|
+
/**
|
|
8039
|
+
* The function to be called, when the event occurs
|
|
8040
|
+
*/
|
|
8041
|
+
fnFunction: (p1: sap.ui.base.Event) => void,
|
|
8042
|
+
/**
|
|
8043
|
+
* Context object on which the given function had to be called
|
|
8044
|
+
*/
|
|
8045
|
+
oListener?: object
|
|
8046
|
+
): this;
|
|
8047
|
+
/**
|
|
8048
|
+
* Detaches event handler `fnFunction` from the {@link #event:nodeDropped nodeDropped} event of this `sap.suite.ui.commons.networkgraph.Graph`.
|
|
8049
|
+
*
|
|
8050
|
+
* The passed function and listener object must match the ones used for event registration.
|
|
8051
|
+
*
|
|
8052
|
+
* @since 1.136.19
|
|
8053
|
+
*
|
|
8054
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
8055
|
+
*/
|
|
8056
|
+
detachNodeDropped(
|
|
8057
|
+
/**
|
|
8058
|
+
* The function to be called, when the event occurs
|
|
8059
|
+
*/
|
|
8060
|
+
fnFunction: (p1: Graph$NodeDroppedEvent) => void,
|
|
8061
|
+
/**
|
|
8062
|
+
* Context object on which the given function had to be called
|
|
8063
|
+
*/
|
|
8064
|
+
oListener?: object
|
|
8065
|
+
): this;
|
|
7420
8066
|
/**
|
|
7421
8067
|
* Detaches event handler `fnFunction` from the {@link #event:search search} event of this `sap.suite.ui.commons.networkgraph.Graph`.
|
|
7422
8068
|
*
|
|
@@ -7517,6 +8163,20 @@ declare namespace sap {
|
|
|
7517
8163
|
*/
|
|
7518
8164
|
mParameters?: object
|
|
7519
8165
|
): this;
|
|
8166
|
+
/**
|
|
8167
|
+
* Fires event {@link #event:connectionCreated connectionCreated} to attached listeners.
|
|
8168
|
+
*
|
|
8169
|
+
* @since 1.136.19
|
|
8170
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
8171
|
+
*
|
|
8172
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
8173
|
+
*/
|
|
8174
|
+
fireConnectionCreated(
|
|
8175
|
+
/**
|
|
8176
|
+
* Parameters to pass along with the event
|
|
8177
|
+
*/
|
|
8178
|
+
mParameters?: sap.suite.ui.commons.networkgraph.Graph$ConnectionCreatedEventParameters
|
|
8179
|
+
): this;
|
|
7520
8180
|
/**
|
|
7521
8181
|
* Fires event {@link #event:failure failure} to attached listeners.
|
|
7522
8182
|
*
|
|
@@ -7543,6 +8203,48 @@ declare namespace sap {
|
|
|
7543
8203
|
*/
|
|
7544
8204
|
mParameters?: object
|
|
7545
8205
|
): this;
|
|
8206
|
+
/**
|
|
8207
|
+
* Fires event {@link #event:itemDeleted itemDeleted} to attached listeners.
|
|
8208
|
+
*
|
|
8209
|
+
* @since 1.136.19
|
|
8210
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
8211
|
+
*
|
|
8212
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
8213
|
+
*/
|
|
8214
|
+
fireItemDeleted(
|
|
8215
|
+
/**
|
|
8216
|
+
* Parameters to pass along with the event
|
|
8217
|
+
*/
|
|
8218
|
+
mParameters?: sap.suite.ui.commons.networkgraph.Graph$ItemDeletedEventParameters
|
|
8219
|
+
): this;
|
|
8220
|
+
/**
|
|
8221
|
+
* Fires event {@link #event:nodeAdded nodeAdded} to attached listeners.
|
|
8222
|
+
*
|
|
8223
|
+
* @since 1.136.19
|
|
8224
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
8225
|
+
*
|
|
8226
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
8227
|
+
*/
|
|
8228
|
+
fireNodeAdded(
|
|
8229
|
+
/**
|
|
8230
|
+
* Parameters to pass along with the event
|
|
8231
|
+
*/
|
|
8232
|
+
mParameters?: object
|
|
8233
|
+
): this;
|
|
8234
|
+
/**
|
|
8235
|
+
* Fires event {@link #event:nodeDropped nodeDropped} to attached listeners.
|
|
8236
|
+
*
|
|
8237
|
+
* @since 1.136.19
|
|
8238
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
8239
|
+
*
|
|
8240
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
8241
|
+
*/
|
|
8242
|
+
fireNodeDropped(
|
|
8243
|
+
/**
|
|
8244
|
+
* Parameters to pass along with the event
|
|
8245
|
+
*/
|
|
8246
|
+
mParameters?: sap.suite.ui.commons.networkgraph.Graph$NodeDroppedEventParameters
|
|
8247
|
+
): this;
|
|
7546
8248
|
/**
|
|
7547
8249
|
* Fires event {@link #event:search search} to attached listeners.
|
|
7548
8250
|
*
|
|
@@ -7603,6 +8305,14 @@ declare namespace sap {
|
|
|
7603
8305
|
* Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
7604
8306
|
*/
|
|
7605
8307
|
getAriaLabelledBy(): sap.ui.core.ID[];
|
|
8308
|
+
/**
|
|
8309
|
+
* Gets the associated control linked to this graph instance using the 'associatedControl' association.
|
|
8310
|
+
* This can be any UI5 control that is related to the graph.
|
|
8311
|
+
*
|
|
8312
|
+
*
|
|
8313
|
+
* @returns The associated control instance or null if not set.
|
|
8314
|
+
*/
|
|
8315
|
+
getAssociatedControl(): sap.ui.core.Control | null;
|
|
7606
8316
|
/**
|
|
7607
8317
|
* Gets current value of property {@link #getBackgroundColor backgroundColor}.
|
|
7608
8318
|
*
|
|
@@ -7623,8 +8333,27 @@ declare namespace sap {
|
|
|
7623
8333
|
* @returns Value of property `backgroundImage`
|
|
7624
8334
|
*/
|
|
7625
8335
|
getBackgroundImage(): sap.ui.core.URI;
|
|
8336
|
+
/**
|
|
8337
|
+
* Gets current value of property {@link #getConnectionTypeMapping connectionTypeMapping}.
|
|
8338
|
+
*
|
|
8339
|
+
* Mapping of connection types to their display text keys or custom text values. This allows customization
|
|
8340
|
+
* of how connection types are displayed in the connection creation popover. The mapping should be an object
|
|
8341
|
+
* where keys are connection type values (LeftToLeft, LeftToRight, RightToLeft, RightToRight) and values
|
|
8342
|
+
* are custom text that follows the correct format (e.g., "Start to End", "Source to Target"). If the format
|
|
8343
|
+
* is invalid or not provided, default values are used
|
|
8344
|
+
*
|
|
8345
|
+
* Default value is `...see text or source`.
|
|
8346
|
+
*
|
|
8347
|
+
* @since 1.136.19
|
|
8348
|
+
*
|
|
8349
|
+
* @returns Value of property `connectionTypeMapping`
|
|
8350
|
+
*/
|
|
8351
|
+
getConnectionTypeMapping(): object;
|
|
7626
8352
|
/**
|
|
7627
8353
|
* Returns current zoom level.
|
|
8354
|
+
*
|
|
8355
|
+
*
|
|
8356
|
+
* @returns Current zoom level
|
|
7628
8357
|
*/
|
|
7629
8358
|
getCurrentZoomLevel(): number;
|
|
7630
8359
|
/**
|
|
@@ -7669,6 +8398,20 @@ declare namespace sap {
|
|
|
7669
8398
|
* @returns Value of property `height`
|
|
7670
8399
|
*/
|
|
7671
8400
|
getHeight(): sap.ui.core.CSSSize;
|
|
8401
|
+
/**
|
|
8402
|
+
* Gets current value of property {@link #getLabels labels}.
|
|
8403
|
+
*
|
|
8404
|
+
* Custom labels for element types displayed in the SearchField suggestions and Legend section headers.
|
|
8405
|
+
* Supported keys: nodeLabel, nodeLabelPlural, lineLabel, lineLabelPlural, groupLabel, groupLabelPlural.
|
|
8406
|
+
* Reverts to the default values for keys that are not set.
|
|
8407
|
+
*
|
|
8408
|
+
* Default value is `{}`.
|
|
8409
|
+
*
|
|
8410
|
+
* @since 1.149
|
|
8411
|
+
*
|
|
8412
|
+
* @returns Value of property `labels`
|
|
8413
|
+
*/
|
|
8414
|
+
getLabels(): object;
|
|
7672
8415
|
/**
|
|
7673
8416
|
* Gets content of aggregation {@link #getLayoutAlgorithm layoutAlgorithm}.
|
|
7674
8417
|
*
|
|
@@ -7688,6 +8431,31 @@ declare namespace sap {
|
|
|
7688
8431
|
* Holds the lines to be displayed in the graph.
|
|
7689
8432
|
*/
|
|
7690
8433
|
getLines(): sap.suite.ui.commons.networkgraph.Line[];
|
|
8434
|
+
/**
|
|
8435
|
+
* Gets current value of property {@link #getLoading loading}.
|
|
8436
|
+
*
|
|
8437
|
+
* Set this property to `true` to display a loading indicator while the data loads.
|
|
8438
|
+
*
|
|
8439
|
+
* Default value is `false`.
|
|
8440
|
+
*
|
|
8441
|
+
* @since 1.136.19
|
|
8442
|
+
*
|
|
8443
|
+
* @returns Value of property `loading`
|
|
8444
|
+
*/
|
|
8445
|
+
getLoading(): boolean;
|
|
8446
|
+
/**
|
|
8447
|
+
* Gets current value of property {@link #getLoadingText loadingText}.
|
|
8448
|
+
*
|
|
8449
|
+
* Text that is displayed when the loading is set.
|
|
8450
|
+
* This property takes effect only when the `loading` property is set to `true`.
|
|
8451
|
+
*
|
|
8452
|
+
* Default value is `empty string`.
|
|
8453
|
+
*
|
|
8454
|
+
* @since 1.136.19
|
|
8455
|
+
*
|
|
8456
|
+
* @returns Value of property `loadingText`
|
|
8457
|
+
*/
|
|
8458
|
+
getLoadingText(): string;
|
|
7691
8459
|
/**
|
|
7692
8460
|
* Gets current value of property {@link #getNoData noData}.
|
|
7693
8461
|
*
|
|
@@ -7725,6 +8493,20 @@ declare namespace sap {
|
|
|
7725
8493
|
*/
|
|
7726
8494
|
sKey: string
|
|
7727
8495
|
): sap.suite.ui.commons.networkgraph.Node;
|
|
8496
|
+
/**
|
|
8497
|
+
* Gets current value of property {@link #getNodePorts nodePorts}.
|
|
8498
|
+
*
|
|
8499
|
+
* Specifies the ports that are to be displayed on nodes. Ports are used for creating connections between
|
|
8500
|
+
* nodes. Ports are available only when the layout algorithm is set to "NoopLayout", and when the drag and
|
|
8501
|
+
* drop is enabled. Otherwise, this property is ignored.
|
|
8502
|
+
*
|
|
8503
|
+
* Default value is `None`.
|
|
8504
|
+
*
|
|
8505
|
+
* @since 1.136.19
|
|
8506
|
+
*
|
|
8507
|
+
* @returns Value of property `nodePorts`
|
|
8508
|
+
*/
|
|
8509
|
+
getNodePorts(): /* was: sap.suite.ui.commons.networkgraph.NodePorts */ any;
|
|
7728
8510
|
/**
|
|
7729
8511
|
* Gets content of aggregation {@link #getNodes nodes}.
|
|
7730
8512
|
*
|
|
@@ -7754,6 +8536,22 @@ declare namespace sap {
|
|
|
7754
8536
|
* @returns Value of property `renderType`
|
|
7755
8537
|
*/
|
|
7756
8538
|
getRenderType(): sap.suite.ui.commons.networkgraph.RenderType;
|
|
8539
|
+
/**
|
|
8540
|
+
* Gets current value of property {@link #getShowCreateConnectionButton showCreateConnectionButton}.
|
|
8541
|
+
*
|
|
8542
|
+
* This action button is used to create connections between nodes as an accessible alternative to node ports.
|
|
8543
|
+
* The button is displayed on each node when the layout algorithm is set to "NoopLayout" and drag and drop
|
|
8544
|
+
* is enabled. shows the 'Create Connection' action button on node. If set to `false`, the button remains
|
|
8545
|
+
* hidden. Hide this button when you want to implement your own way of creating connections between nodes
|
|
8546
|
+
* as an accessible alternative to node ports.
|
|
8547
|
+
*
|
|
8548
|
+
* Default value is `true`.
|
|
8549
|
+
*
|
|
8550
|
+
* @since 1.136.19
|
|
8551
|
+
*
|
|
8552
|
+
* @returns Value of property `showCreateConnectionButton`
|
|
8553
|
+
*/
|
|
8554
|
+
getShowCreateConnectionButton(): boolean;
|
|
7757
8555
|
/**
|
|
7758
8556
|
* Gets content of aggregation {@link #getStatuses statuses}.
|
|
7759
8557
|
*
|
|
@@ -7913,8 +8711,11 @@ declare namespace sap {
|
|
|
7913
8711
|
): this;
|
|
7914
8712
|
/**
|
|
7915
8713
|
* Returns `true` if the graph is in full screen mode.
|
|
8714
|
+
*
|
|
8715
|
+
*
|
|
8716
|
+
* @returns Returns whether the graph is in full screen mode.
|
|
7916
8717
|
*/
|
|
7917
|
-
isFullScreen():
|
|
8718
|
+
isFullScreen(): boolean;
|
|
7918
8719
|
/**
|
|
7919
8720
|
* If you call this method with `true` parameter, no invalidation will be triggered until you call it with
|
|
7920
8721
|
* `false`. This can be useful when changing properties before rendering that can trigger unwanted invalidation
|
|
@@ -8057,6 +8858,20 @@ declare namespace sap {
|
|
|
8057
8858
|
*/
|
|
8058
8859
|
oElement: Object
|
|
8059
8860
|
): void;
|
|
8861
|
+
/**
|
|
8862
|
+
* Sets the associated {@link #getAssociatedControl associatedControl}.
|
|
8863
|
+
*
|
|
8864
|
+
* @since 1.136.19
|
|
8865
|
+
*
|
|
8866
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
8867
|
+
*/
|
|
8868
|
+
setAssociatedControl(
|
|
8869
|
+
/**
|
|
8870
|
+
* ID of an element which becomes the new target of this associatedControl association; alternatively, an
|
|
8871
|
+
* element instance may be given
|
|
8872
|
+
*/
|
|
8873
|
+
oAssociatedControl: sap.ui.core.ID | sap.ui.core.Control
|
|
8874
|
+
): this;
|
|
8060
8875
|
/**
|
|
8061
8876
|
* Sets a new value for property {@link #getBackgroundColor backgroundColor}.
|
|
8062
8877
|
*
|
|
@@ -8091,6 +8906,29 @@ declare namespace sap {
|
|
|
8091
8906
|
*/
|
|
8092
8907
|
sBackgroundImage?: sap.ui.core.URI
|
|
8093
8908
|
): this;
|
|
8909
|
+
/**
|
|
8910
|
+
* Sets a new value for property {@link #getConnectionTypeMapping connectionTypeMapping}.
|
|
8911
|
+
*
|
|
8912
|
+
* Mapping of connection types to their display text keys or custom text values. This allows customization
|
|
8913
|
+
* of how connection types are displayed in the connection creation popover. The mapping should be an object
|
|
8914
|
+
* where keys are connection type values (LeftToLeft, LeftToRight, RightToLeft, RightToRight) and values
|
|
8915
|
+
* are custom text that follows the correct format (e.g., "Start to End", "Source to Target"). If the format
|
|
8916
|
+
* is invalid or not provided, default values are used
|
|
8917
|
+
*
|
|
8918
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
8919
|
+
*
|
|
8920
|
+
* Default value is `...see text or source`.
|
|
8921
|
+
*
|
|
8922
|
+
* @since 1.136.19
|
|
8923
|
+
*
|
|
8924
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
8925
|
+
*/
|
|
8926
|
+
setConnectionTypeMapping(
|
|
8927
|
+
/**
|
|
8928
|
+
* New value for property `connectionTypeMapping`
|
|
8929
|
+
*/
|
|
8930
|
+
oConnectionTypeMapping?: object
|
|
8931
|
+
): this;
|
|
8094
8932
|
/**
|
|
8095
8933
|
* Sets current zoom level.
|
|
8096
8934
|
*/
|
|
@@ -8188,6 +9026,27 @@ declare namespace sap {
|
|
|
8188
9026
|
*/
|
|
8189
9027
|
sHeight?: sap.ui.core.CSSSize
|
|
8190
9028
|
): this;
|
|
9029
|
+
/**
|
|
9030
|
+
* Sets a new value for property {@link #getLabels labels}.
|
|
9031
|
+
*
|
|
9032
|
+
* Custom labels for element types displayed in the SearchField suggestions and Legend section headers.
|
|
9033
|
+
* Supported keys: nodeLabel, nodeLabelPlural, lineLabel, lineLabelPlural, groupLabel, groupLabelPlural.
|
|
9034
|
+
* Reverts to the default values for keys that are not set.
|
|
9035
|
+
*
|
|
9036
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
9037
|
+
*
|
|
9038
|
+
* Default value is `{}`.
|
|
9039
|
+
*
|
|
9040
|
+
* @since 1.149
|
|
9041
|
+
*
|
|
9042
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
9043
|
+
*/
|
|
9044
|
+
setLabels(
|
|
9045
|
+
/**
|
|
9046
|
+
* New value for property `labels`
|
|
9047
|
+
*/
|
|
9048
|
+
oLabels?: object
|
|
9049
|
+
): this;
|
|
8191
9050
|
/**
|
|
8192
9051
|
* Sets the aggregated {@link #getLayoutAlgorithm layoutAlgorithm}.
|
|
8193
9052
|
*
|
|
@@ -8212,6 +9071,45 @@ declare namespace sap {
|
|
|
8212
9071
|
*/
|
|
8213
9072
|
oLegend: sap.ui.core.Control
|
|
8214
9073
|
): this;
|
|
9074
|
+
/**
|
|
9075
|
+
* Sets a new value for property {@link #getLoading loading}.
|
|
9076
|
+
*
|
|
9077
|
+
* Set this property to `true` to display a loading indicator while the data loads.
|
|
9078
|
+
*
|
|
9079
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
9080
|
+
*
|
|
9081
|
+
* Default value is `false`.
|
|
9082
|
+
*
|
|
9083
|
+
* @since 1.136.19
|
|
9084
|
+
*
|
|
9085
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
9086
|
+
*/
|
|
9087
|
+
setLoading(
|
|
9088
|
+
/**
|
|
9089
|
+
* New value for property `loading`
|
|
9090
|
+
*/
|
|
9091
|
+
bLoading?: boolean
|
|
9092
|
+
): this;
|
|
9093
|
+
/**
|
|
9094
|
+
* Sets a new value for property {@link #getLoadingText loadingText}.
|
|
9095
|
+
*
|
|
9096
|
+
* Text that is displayed when the loading is set.
|
|
9097
|
+
* This property takes effect only when the `loading` property is set to `true`.
|
|
9098
|
+
*
|
|
9099
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
9100
|
+
*
|
|
9101
|
+
* Default value is `empty string`.
|
|
9102
|
+
*
|
|
9103
|
+
* @since 1.136.19
|
|
9104
|
+
*
|
|
9105
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
9106
|
+
*/
|
|
9107
|
+
setLoadingText(
|
|
9108
|
+
/**
|
|
9109
|
+
* New value for property `loadingText`
|
|
9110
|
+
*/
|
|
9111
|
+
sLoadingText?: string
|
|
9112
|
+
): this;
|
|
8215
9113
|
/**
|
|
8216
9114
|
* Sets a new value for property {@link #getNoData noData}.
|
|
8217
9115
|
*
|
|
@@ -8251,6 +9149,27 @@ declare namespace sap {
|
|
|
8251
9149
|
*/
|
|
8252
9150
|
sNoDataText?: string
|
|
8253
9151
|
): this;
|
|
9152
|
+
/**
|
|
9153
|
+
* Sets a new value for property {@link #getNodePorts nodePorts}.
|
|
9154
|
+
*
|
|
9155
|
+
* Specifies the ports that are to be displayed on nodes. Ports are used for creating connections between
|
|
9156
|
+
* nodes. Ports are available only when the layout algorithm is set to "NoopLayout", and when the drag and
|
|
9157
|
+
* drop is enabled. Otherwise, this property is ignored.
|
|
9158
|
+
*
|
|
9159
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
9160
|
+
*
|
|
9161
|
+
* Default value is `None`.
|
|
9162
|
+
*
|
|
9163
|
+
* @since 1.136.19
|
|
9164
|
+
*
|
|
9165
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
9166
|
+
*/
|
|
9167
|
+
setNodePorts(
|
|
9168
|
+
/**
|
|
9169
|
+
* New value for property `nodePorts`
|
|
9170
|
+
*/
|
|
9171
|
+
sNodePorts?: /* was: sap.suite.ui.commons.networkgraph.NodePorts */ any
|
|
9172
|
+
): this;
|
|
8254
9173
|
/**
|
|
8255
9174
|
* Sets a new value for property {@link #getOrientation orientation}.
|
|
8256
9175
|
*
|
|
@@ -8297,6 +9216,29 @@ declare namespace sap {
|
|
|
8297
9216
|
*/
|
|
8298
9217
|
aItems: any[]
|
|
8299
9218
|
): void;
|
|
9219
|
+
/**
|
|
9220
|
+
* Sets a new value for property {@link #getShowCreateConnectionButton showCreateConnectionButton}.
|
|
9221
|
+
*
|
|
9222
|
+
* This action button is used to create connections between nodes as an accessible alternative to node ports.
|
|
9223
|
+
* The button is displayed on each node when the layout algorithm is set to "NoopLayout" and drag and drop
|
|
9224
|
+
* is enabled. shows the 'Create Connection' action button on node. If set to `false`, the button remains
|
|
9225
|
+
* hidden. Hide this button when you want to implement your own way of creating connections between nodes
|
|
9226
|
+
* as an accessible alternative to node ports.
|
|
9227
|
+
*
|
|
9228
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
9229
|
+
*
|
|
9230
|
+
* Default value is `true`.
|
|
9231
|
+
*
|
|
9232
|
+
* @since 1.136.19
|
|
9233
|
+
*
|
|
9234
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
9235
|
+
*/
|
|
9236
|
+
setShowCreateConnectionButton(
|
|
9237
|
+
/**
|
|
9238
|
+
* New value for property `showCreateConnectionButton`
|
|
9239
|
+
*/
|
|
9240
|
+
bShowCreateConnectionButton?: boolean
|
|
9241
|
+
): this;
|
|
8300
9242
|
/**
|
|
8301
9243
|
* Sets a new value for property {@link #getWidth width}.
|
|
8302
9244
|
*
|
|
@@ -8324,6 +9266,29 @@ declare namespace sap {
|
|
|
8324
9266
|
* Updates the legend.
|
|
8325
9267
|
*/
|
|
8326
9268
|
updateLegend(): void;
|
|
9269
|
+
/**
|
|
9270
|
+
* Re-rendering a node and all connected lines to update the positions of both the node and the lines. Note:
|
|
9271
|
+
* This method should be used only when the layout algorithm is set to NoopLayout and enableDragAndDrop
|
|
9272
|
+
* is set to true.
|
|
9273
|
+
*
|
|
9274
|
+
* @since 1.136.19
|
|
9275
|
+
*
|
|
9276
|
+
* @returns Reference to this for method chaining
|
|
9277
|
+
*/
|
|
9278
|
+
updateNodePosition(
|
|
9279
|
+
/**
|
|
9280
|
+
* Node instance or node key
|
|
9281
|
+
*/
|
|
9282
|
+
vNode: sap.suite.ui.commons.networkgraph.Node | string,
|
|
9283
|
+
/**
|
|
9284
|
+
* New X coordinate
|
|
9285
|
+
*/
|
|
9286
|
+
iX: number,
|
|
9287
|
+
/**
|
|
9288
|
+
* New Y coordinate
|
|
9289
|
+
*/
|
|
9290
|
+
iY: number
|
|
9291
|
+
): sap.suite.ui.commons.networkgraph.Graph;
|
|
8327
9292
|
/**
|
|
8328
9293
|
* Zooms in or out of the graph.
|
|
8329
9294
|
*/
|
|
@@ -9429,6 +10394,23 @@ declare namespace sap {
|
|
|
9429
10394
|
* @returns Coordinates of the points shaping the line
|
|
9430
10395
|
*/
|
|
9431
10396
|
getBends(): sap.suite.ui.commons.networkgraph.Coordinate[];
|
|
10397
|
+
/**
|
|
10398
|
+
* Gets current value of property {@link #getConnectionType connectionType}.
|
|
10399
|
+
*
|
|
10400
|
+
* Defines the connection type between the source and target nodes. Can be set to RightToLeft, LeftToRight,
|
|
10401
|
+
* TopToBottom, or BottomToTop using {@link sap.suite.ui.commons.networkgraph.ConnectionType ConnectionType }
|
|
10402
|
+
* enumeration. This property is used to determine how the line connects the source and target nodes. For
|
|
10403
|
+
* example, if set to RightToLeft, the line starts from the right side of the source node and end at the
|
|
10404
|
+
* left side of the target node. This property is valid only with the NoopLayout and drag and drop enabled
|
|
10405
|
+
* network graph.
|
|
10406
|
+
*
|
|
10407
|
+
* Default value is `RightToLeft`.
|
|
10408
|
+
*
|
|
10409
|
+
* @since 1.136.19
|
|
10410
|
+
*
|
|
10411
|
+
* @returns Value of property `connectionType`
|
|
10412
|
+
*/
|
|
10413
|
+
getConnectionType(): /* was: sap.suite.ui.commons.networkgraph.ConnectionType */ any;
|
|
9432
10414
|
/**
|
|
9433
10415
|
* Gets content of aggregation {@link #getCoordinates coordinates}.
|
|
9434
10416
|
*
|
|
@@ -9453,6 +10435,23 @@ declare namespace sap {
|
|
|
9453
10435
|
* @returns Node instance where the line starts
|
|
9454
10436
|
*/
|
|
9455
10437
|
getFromNode(): object;
|
|
10438
|
+
/**
|
|
10439
|
+
* Gets current value of property {@link #getLabelName labelName}.
|
|
10440
|
+
*
|
|
10441
|
+
* Defines the text label to be displayed on the line.
|
|
10442
|
+
*
|
|
10443
|
+
* When set, displays the label text in a rounded rectangle box positioned near the target arrow. The label
|
|
10444
|
+
* is rendered only when all of the following conditions are met: - This property has a non-empty value
|
|
10445
|
+
* - The graph is using NoopLayout - The line's arrowPosition is set to "Both" - The line is long enough
|
|
10446
|
+
* to accommodate the label If this property is empty or not set, no label is displayed on the line
|
|
10447
|
+
*
|
|
10448
|
+
* Default value is `empty string`.
|
|
10449
|
+
*
|
|
10450
|
+
* @since 1.136.19
|
|
10451
|
+
*
|
|
10452
|
+
* @returns Value of property `labelName`
|
|
10453
|
+
*/
|
|
10454
|
+
getLabelName(): string;
|
|
9456
10455
|
/**
|
|
9457
10456
|
* Gets current value of property {@link #getLineType lineType}.
|
|
9458
10457
|
*
|
|
@@ -9665,6 +10664,30 @@ declare namespace sap {
|
|
|
9665
10664
|
*/
|
|
9666
10665
|
sArrowPosition?: sap.suite.ui.commons.networkgraph.LineArrowPosition
|
|
9667
10666
|
): this;
|
|
10667
|
+
/**
|
|
10668
|
+
* Sets a new value for property {@link #getConnectionType connectionType}.
|
|
10669
|
+
*
|
|
10670
|
+
* Defines the connection type between the source and target nodes. Can be set to RightToLeft, LeftToRight,
|
|
10671
|
+
* TopToBottom, or BottomToTop using {@link sap.suite.ui.commons.networkgraph.ConnectionType ConnectionType }
|
|
10672
|
+
* enumeration. This property is used to determine how the line connects the source and target nodes. For
|
|
10673
|
+
* example, if set to RightToLeft, the line starts from the right side of the source node and end at the
|
|
10674
|
+
* left side of the target node. This property is valid only with the NoopLayout and drag and drop enabled
|
|
10675
|
+
* network graph.
|
|
10676
|
+
*
|
|
10677
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
10678
|
+
*
|
|
10679
|
+
* Default value is `RightToLeft`.
|
|
10680
|
+
*
|
|
10681
|
+
* @since 1.136.19
|
|
10682
|
+
*
|
|
10683
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
10684
|
+
*/
|
|
10685
|
+
setConnectionType(
|
|
10686
|
+
/**
|
|
10687
|
+
* New value for property `connectionType`
|
|
10688
|
+
*/
|
|
10689
|
+
sConnectionType?: /* was: sap.suite.ui.commons.networkgraph.ConnectionType */ any
|
|
10690
|
+
): this;
|
|
9668
10691
|
/**
|
|
9669
10692
|
* Sets a new value for property {@link #getFrom from}.
|
|
9670
10693
|
*
|
|
@@ -9685,6 +10708,30 @@ declare namespace sap {
|
|
|
9685
10708
|
* Hides the line.
|
|
9686
10709
|
*/
|
|
9687
10710
|
setHidden(): void;
|
|
10711
|
+
/**
|
|
10712
|
+
* Sets a new value for property {@link #getLabelName labelName}.
|
|
10713
|
+
*
|
|
10714
|
+
* Defines the text label to be displayed on the line.
|
|
10715
|
+
*
|
|
10716
|
+
* When set, displays the label text in a rounded rectangle box positioned near the target arrow. The label
|
|
10717
|
+
* is rendered only when all of the following conditions are met: - This property has a non-empty value
|
|
10718
|
+
* - The graph is using NoopLayout - The line's arrowPosition is set to "Both" - The line is long enough
|
|
10719
|
+
* to accommodate the label If this property is empty or not set, no label is displayed on the line
|
|
10720
|
+
*
|
|
10721
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
10722
|
+
*
|
|
10723
|
+
* Default value is `empty string`.
|
|
10724
|
+
*
|
|
10725
|
+
* @since 1.136.19
|
|
10726
|
+
*
|
|
10727
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
10728
|
+
*/
|
|
10729
|
+
setLabelName(
|
|
10730
|
+
/**
|
|
10731
|
+
* New value for property `labelName`
|
|
10732
|
+
*/
|
|
10733
|
+
sLabelName?: string
|
|
10734
|
+
): this;
|
|
9688
10735
|
/**
|
|
9689
10736
|
* Sets a new value for property {@link #getLineType lineType}.
|
|
9690
10737
|
*
|
|
@@ -10419,6 +11466,18 @@ declare namespace sap {
|
|
|
10419
11466
|
* @returns Value of property `maxWidth`
|
|
10420
11467
|
*/
|
|
10421
11468
|
getMaxWidth(): int;
|
|
11469
|
+
/**
|
|
11470
|
+
* Gets current value of property {@link #getNodePorts nodePorts}.
|
|
11471
|
+
*
|
|
11472
|
+
* Determines the port configuration for this node. When set, it overrides the graph-level nodePorts setting.
|
|
11473
|
+
* If not set (defaults to None), the graph-level setting is used. Ports are available only when the layout
|
|
11474
|
+
* algorithm is set to "NoopLayout", and when the drag and drop is enabled.
|
|
11475
|
+
*
|
|
11476
|
+
* @since 1.136.19
|
|
11477
|
+
*
|
|
11478
|
+
* @returns Value of property `nodePorts`
|
|
11479
|
+
*/
|
|
11480
|
+
getNodePorts(): /* was: sap.suite.ui.commons.networkgraph.NodePorts */ any;
|
|
10422
11481
|
/**
|
|
10423
11482
|
* Gets current value of property {@link #getNodeTitleBackground nodeTitleBackground}.
|
|
10424
11483
|
*
|
|
@@ -10479,6 +11538,21 @@ declare namespace sap {
|
|
|
10479
11538
|
* @returns Value of property `showActionLinksButton`
|
|
10480
11539
|
*/
|
|
10481
11540
|
getShowActionLinksButton(): boolean;
|
|
11541
|
+
/**
|
|
11542
|
+
* Gets current value of property {@link #getShowCreateConnectionButton showCreateConnectionButton}.
|
|
11543
|
+
*
|
|
11544
|
+
* Determines whether the 'Create Connection' action button is displayed on this node. When set, it overrides
|
|
11545
|
+
* the graph-level showCreateConnectionButton setting. If set to default (true), the graph-level setting
|
|
11546
|
+
* is used. The button is used to create connections between nodes as an accessible alternative to node
|
|
11547
|
+
* ports.
|
|
11548
|
+
*
|
|
11549
|
+
* Default value is `true`.
|
|
11550
|
+
*
|
|
11551
|
+
* @since 1.136.19
|
|
11552
|
+
*
|
|
11553
|
+
* @returns Value of property `showCreateConnectionButton`
|
|
11554
|
+
*/
|
|
11555
|
+
getShowCreateConnectionButton(): boolean;
|
|
10482
11556
|
/**
|
|
10483
11557
|
* Gets current value of property {@link #getShowDetailButton showDetailButton}.
|
|
10484
11558
|
*
|
|
@@ -11097,6 +12171,25 @@ declare namespace sap {
|
|
|
11097
12171
|
*/
|
|
11098
12172
|
iMaxWidth?: int
|
|
11099
12173
|
): this;
|
|
12174
|
+
/**
|
|
12175
|
+
* Sets a new value for property {@link #getNodePorts nodePorts}.
|
|
12176
|
+
*
|
|
12177
|
+
* Determines the port configuration for this node. When set, it overrides the graph-level nodePorts setting.
|
|
12178
|
+
* If not set (defaults to None), the graph-level setting is used. Ports are available only when the layout
|
|
12179
|
+
* algorithm is set to "NoopLayout", and when the drag and drop is enabled.
|
|
12180
|
+
*
|
|
12181
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
12182
|
+
*
|
|
12183
|
+
* @since 1.136.19
|
|
12184
|
+
*
|
|
12185
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
12186
|
+
*/
|
|
12187
|
+
setNodePorts(
|
|
12188
|
+
/**
|
|
12189
|
+
* New value for property `nodePorts`
|
|
12190
|
+
*/
|
|
12191
|
+
sNodePorts: /* was: sap.suite.ui.commons.networkgraph.NodePorts */ any
|
|
12192
|
+
): this;
|
|
11100
12193
|
/**
|
|
11101
12194
|
* Sets a new value for property {@link #getNodeTitleBackground nodeTitleBackground}.
|
|
11102
12195
|
*
|
|
@@ -11171,6 +12264,28 @@ declare namespace sap {
|
|
|
11171
12264
|
*/
|
|
11172
12265
|
bShowActionLinksButton?: boolean
|
|
11173
12266
|
): this;
|
|
12267
|
+
/**
|
|
12268
|
+
* Sets a new value for property {@link #getShowCreateConnectionButton showCreateConnectionButton}.
|
|
12269
|
+
*
|
|
12270
|
+
* Determines whether the 'Create Connection' action button is displayed on this node. When set, it overrides
|
|
12271
|
+
* the graph-level showCreateConnectionButton setting. If set to default (true), the graph-level setting
|
|
12272
|
+
* is used. The button is used to create connections between nodes as an accessible alternative to node
|
|
12273
|
+
* ports.
|
|
12274
|
+
*
|
|
12275
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
12276
|
+
*
|
|
12277
|
+
* Default value is `true`.
|
|
12278
|
+
*
|
|
12279
|
+
* @since 1.136.19
|
|
12280
|
+
*
|
|
12281
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
12282
|
+
*/
|
|
12283
|
+
setShowCreateConnectionButton(
|
|
12284
|
+
/**
|
|
12285
|
+
* New value for property `showCreateConnectionButton`
|
|
12286
|
+
*/
|
|
12287
|
+
bShowCreateConnectionButton?: boolean
|
|
12288
|
+
): this;
|
|
11174
12289
|
/**
|
|
11175
12290
|
* Sets a new value for property {@link #getShowDetailButton showDetailButton}.
|
|
11176
12291
|
*
|
|
@@ -12039,6 +13154,24 @@ declare namespace sap {
|
|
|
12039
13154
|
*/
|
|
12040
13155
|
White = "White",
|
|
12041
13156
|
}
|
|
13157
|
+
/**
|
|
13158
|
+
* Defines the arrangement of components in the dependency layout.
|
|
13159
|
+
*
|
|
13160
|
+
* This enum is part of the 'sap/suite/ui/commons/library' module export and must be accessed by the property
|
|
13161
|
+
* 'networkgraph.ComponentArrangement'.
|
|
13162
|
+
*
|
|
13163
|
+
* @since 1.136.19
|
|
13164
|
+
*/
|
|
13165
|
+
enum ComponentArrangement {
|
|
13166
|
+
/**
|
|
13167
|
+
* Components are arranged horizontally.
|
|
13168
|
+
*/
|
|
13169
|
+
Horizontal = "Horizontal",
|
|
13170
|
+
/**
|
|
13171
|
+
* Components are arranged vertically.
|
|
13172
|
+
*/
|
|
13173
|
+
Vertical = "Vertical",
|
|
13174
|
+
}
|
|
12042
13175
|
/**
|
|
12043
13176
|
* Semantic type of the node status.
|
|
12044
13177
|
*
|
|
@@ -12285,6 +13418,14 @@ declare namespace sap {
|
|
|
12285
13418
|
Graph
|
|
12286
13419
|
>;
|
|
12287
13420
|
|
|
13421
|
+
/**
|
|
13422
|
+
* Event object of the Graph#connectionCreated event.
|
|
13423
|
+
*/
|
|
13424
|
+
type Graph$ConnectionCreatedEvent = sap.ui.base.Event<
|
|
13425
|
+
Graph$ConnectionCreatedEventParameters,
|
|
13426
|
+
Graph
|
|
13427
|
+
>;
|
|
13428
|
+
|
|
12288
13429
|
/**
|
|
12289
13430
|
* Event object of the Graph#failure event.
|
|
12290
13431
|
*/
|
|
@@ -12301,6 +13442,30 @@ declare namespace sap {
|
|
|
12301
13442
|
Graph
|
|
12302
13443
|
>;
|
|
12303
13444
|
|
|
13445
|
+
/**
|
|
13446
|
+
* Event object of the Graph#itemDeleted event.
|
|
13447
|
+
*/
|
|
13448
|
+
type Graph$ItemDeletedEvent = sap.ui.base.Event<
|
|
13449
|
+
Graph$ItemDeletedEventParameters,
|
|
13450
|
+
Graph
|
|
13451
|
+
>;
|
|
13452
|
+
|
|
13453
|
+
/**
|
|
13454
|
+
* Event object of the Graph#nodeAdded event.
|
|
13455
|
+
*/
|
|
13456
|
+
type Graph$NodeAddedEvent = sap.ui.base.Event<
|
|
13457
|
+
Graph$NodeAddedEventParameters,
|
|
13458
|
+
Graph
|
|
13459
|
+
>;
|
|
13460
|
+
|
|
13461
|
+
/**
|
|
13462
|
+
* Event object of the Graph#nodeDropped event.
|
|
13463
|
+
*/
|
|
13464
|
+
type Graph$NodeDroppedEvent = sap.ui.base.Event<
|
|
13465
|
+
Graph$NodeDroppedEventParameters,
|
|
13466
|
+
Graph
|
|
13467
|
+
>;
|
|
13468
|
+
|
|
12304
13469
|
/**
|
|
12305
13470
|
* Event object of the Graph#search event.
|
|
12306
13471
|
*/
|
|
@@ -51290,6 +52455,10 @@ declare namespace sap {
|
|
|
51290
52455
|
|
|
51291
52456
|
"sap/suite/ui/commons/networkgraph/SvgBase": undefined;
|
|
51292
52457
|
|
|
52458
|
+
"sap/suite/ui/commons/networkgraph/util/ConnectionPathUtils": undefined;
|
|
52459
|
+
|
|
52460
|
+
"sap/suite/ui/commons/networkgraph/util/DependencyLayoutHelper": undefined;
|
|
52461
|
+
|
|
51293
52462
|
"sap/suite/ui/commons/networkgraph/util/Dijkstra": undefined;
|
|
51294
52463
|
|
|
51295
52464
|
"sap/suite/ui/commons/NewsContent": undefined;
|