@elyra/pipeline-schemas 3.0.92 → 3.0.93

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.
@@ -200,11 +200,11 @@
200
200
  "type": "string"
201
201
  },
202
202
  "label": {
203
- "description": "Label of this canvas execution node.",
203
+ "description": "Label of this canvas node.",
204
204
  "type": "string"
205
205
  },
206
206
  "description": {
207
- "description": "Description of this canvas execution node.",
207
+ "description": "Description of this canvas node.",
208
208
  "type": "string"
209
209
  },
210
210
  "class_name": {
@@ -220,23 +220,33 @@
220
220
  "type": ["string", "object"]
221
221
  },
222
222
  "x_pos": {
223
- "description": "x-position of this canvas execution node.",
223
+ "description": "X coordinate position of the node on the canvas. Calculated by Common Canvas for automatically positioned nodes.",
224
224
  "type": "number"
225
225
  },
226
226
  "y_pos": {
227
- "description": "y-position of this canvas execution node.",
227
+ "description": "Y coordinate position of the node on the canvas. Calculated by Common Canvas for automatically positioned nodes.",
228
228
  "type": "number"
229
229
  },
230
+ "height": {
231
+ "description": "Height of the node calculated by Common Canvas based on what customization options are enabled.",
232
+ "type": "number",
233
+ "readOnly": true
234
+ },
235
+ "width": {
236
+ "description": "Width of the node calculated by Common Canvas based on what customization options are enabled.",
237
+ "type": "number",
238
+ "readOnly": true
239
+ },
230
240
  "isResized": {
231
- "description": "Indicates whether a node has been resized or not. If true, resize_width and resize_height are used for node display. If false, the default width and height are used.",
241
+ "description": "Indicates whether a node has been resized or not. If true, resizeWidth and resizeHeight are used for node display. If false, the default width and height are used.",
232
242
  "type": "boolean"
233
243
  },
234
244
  "resizeHeight": {
235
- "description": "Height of resized node. The node will be displayed with this height, when is_resized is true, in preference to its default height.",
245
+ "description": "Height of resized node. The node will be displayed with this height, when isResized is true, in preference to its default height.",
236
246
  "type": "number"
237
247
  },
238
248
  "resizeWidth": {
239
- "description": "Width of resized node. The node will be displayed with this width, when is_resized is true, in preference to its default width.",
249
+ "description": "Width of resized node. The node will be displayed with this width, when isResized is true, in preference to its default width.",
240
250
  "type": "number"
241
251
  },
242
252
  "attributes": {
@@ -279,6 +289,7 @@
279
289
  "additionalProperties": true
280
290
  }
281
291
  },
292
+ "additionalProperties": false,
282
293
  "required": [
283
294
  "id"
284
295
  ]
@@ -724,7 +735,7 @@
724
735
  "type": "string"
725
736
  },
726
737
  "formats": {
727
- "description": "Type of content",
738
+ "description": "An array of format objects that describe the comment appearance.",
728
739
  "type": "array",
729
740
  "items": {
730
741
  "type": "object",
@@ -846,12 +857,48 @@
846
857
  "type": "string"
847
858
  },
848
859
  "srcPos": {
849
- "x_pos": "number",
850
- "y_pos": "number"
860
+ "description": "The coordinate position on the canvas of the source of the link, when this source end of the link is detached",
861
+ "type": "object",
862
+ "properties": {
863
+ "x_pos": {
864
+ "type": "number"
865
+ },
866
+ "y_pos": {
867
+ "type": "number"
868
+ }
869
+ },
870
+ "required": [
871
+ "x_pos",
872
+ "y_pos"
873
+ ],
874
+ "additionalProperties": false
851
875
  },
852
876
  "trgPos": {
853
- "x_pos": "number",
854
- "y_pos": "number"
877
+ "description": "The coordinate position on the canvas of the target of the link, when this target end of the this link is detached",
878
+ "type": "object",
879
+ "properties": {
880
+ "x_pos": {
881
+ "type": "number"
882
+ },
883
+ "y_pos": {
884
+ "type": "number"
885
+ }
886
+ },
887
+ "required": [
888
+ "x_pos",
889
+ "y_pos"
890
+ ],
891
+ "additionalProperties": false
892
+ },
893
+ "srcObj": {
894
+ "description": "The source object for the link. This property is added by Common Canvas during processing of links.",
895
+ "$ref": "#/definitions/canvas_node",
896
+ "readOnly": true
897
+ },
898
+ "trgNode": {
899
+ "description": "The target object for the link. This property is added by Common Canvas during processing of links.",
900
+ "$ref": "#/definitions/canvas_node",
901
+ "readOnly": true
855
902
  },
856
903
  "linkName": {
857
904
  "description": "optional link name (used in parameter sets when there are multiple input sources)",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elyra/pipeline-schemas",
3
- "version": "3.0.92",
3
+ "version": "3.0.93",
4
4
  "description": "pipeline-schemas",
5
5
  "main": "common-pipeline/pipeline-flow/upgrade/upgrade-flow.js",
6
6
  "homepage": "https://github.com/elyra-ai/pipeline-schemas",
@@ -506,11 +506,11 @@ export interface CanvasNodeSharedProperties {
506
506
  */
507
507
  id: string;
508
508
  /**
509
- * Label of this canvas execution node.
509
+ * Label of this canvas node.
510
510
  */
511
511
  label?: string;
512
512
  /**
513
- * Description of this canvas execution node.
513
+ * Description of this canvas node.
514
514
  */
515
515
  description?: string;
516
516
  /**
@@ -534,23 +534,31 @@ export interface CanvasNodeSharedProperties {
534
534
  [k: string]: unknown;
535
535
  };
536
536
  /**
537
- * x-position of this canvas execution node.
537
+ * X coordinate position of the node on the canvas. Calculated by Common Canvas for automatically positioned nodes.
538
538
  */
539
539
  x_pos?: number;
540
540
  /**
541
- * y-position of this canvas execution node.
541
+ * Y coordinate position of the node on the canvas. Calculated by Common Canvas for automatically positioned nodes.
542
542
  */
543
543
  y_pos?: number;
544
544
  /**
545
- * Indicates whether a node has been resized or not. If true, resize_width and resize_height are used for node display. If false, the default width and height are used.
545
+ * Height of the node calculated by Common Canvas based on what customization options are enabled.
546
+ */
547
+ height?: number;
548
+ /**
549
+ * Width of the node calculated by Common Canvas based on what customization options are enabled.
550
+ */
551
+ width?: number;
552
+ /**
553
+ * Indicates whether a node has been resized or not. If true, resizeWidth and resizeHeight are used for node display. If false, the default width and height are used.
546
554
  */
547
555
  isResized?: boolean;
548
556
  /**
549
- * Height of resized node. The node will be displayed with this height, when is_resized is true, in preference to its default height.
557
+ * Height of resized node. The node will be displayed with this height, when isResized is true, in preference to its default height.
550
558
  */
551
559
  resizeHeight?: number;
552
560
  /**
553
- * Width of resized node. The node will be displayed with this width, when is_resized is true, in preference to its default width.
561
+ * Width of resized node. The node will be displayed with this width, when isResized is true, in preference to its default width.
554
562
  */
555
563
  resizeWidth?: number;
556
564
  /**
@@ -587,7 +595,6 @@ export interface CanvasNodeSharedProperties {
587
595
  app_data?: {
588
596
  [k: string]: unknown;
589
597
  };
590
- [k: string]: unknown;
591
598
  }
592
599
  /**
593
600
  * Node message definition
@@ -829,7 +836,7 @@ export interface CanvasComment {
829
836
  */
830
837
  contentType?: string;
831
838
  /**
832
- * Type of content
839
+ * An array of format objects that describe the comment appearance.
833
840
  */
834
841
  formats?: {
835
842
  field: string;
@@ -909,12 +916,28 @@ export interface CanvasNodeLink {
909
916
  * Optional ID of the port on the target node this link connects from. Defaults to the first port if omitted.
910
917
  */
911
918
  trgNodePortId?: string;
919
+ /**
920
+ * The coordinate position on the canvas of the source of the link, when this source end of the link is detached
921
+ */
912
922
  srcPos?: {
913
- [k: string]: unknown;
923
+ x_pos: number;
924
+ y_pos: number;
914
925
  };
926
+ /**
927
+ * The coordinate position on the canvas of the target of the link, when this target end of the this link is detached
928
+ */
915
929
  trgPos?: {
916
- [k: string]: unknown;
930
+ x_pos: number;
931
+ y_pos: number;
917
932
  };
933
+ /**
934
+ * The source object for the link. This property is added by Common Canvas during processing of links.
935
+ */
936
+ srcObj?: CanvasExecutionNode | CanvasSupernode | CanvasBindingEntryNode | CanvasBindingExitNode | CanvasModelNode;
937
+ /**
938
+ * The target object for the link. This property is added by Common Canvas during processing of links.
939
+ */
940
+ trgNode?: CanvasExecutionNode | CanvasSupernode | CanvasBindingEntryNode | CanvasBindingExitNode | CanvasModelNode;
918
941
  /**
919
942
  * optional link name (used in parameter sets when there are multiple input sources)
920
943
  */
package/types/index.d.ts CHANGED
@@ -73,7 +73,7 @@ export {
73
73
  CanvasModelNode,
74
74
  CanvasPort,
75
75
  CanvasPorts,
76
- CanvasBoundPort,
76
+ CanvasBoundPort,
77
77
  CanvasBoundPorts,
78
78
  CanvasComment,
79
79
  CanvasLink,