@hpcc-js/graph 2.85.3 → 2.85.4

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/dist/index.es6.js CHANGED
@@ -5,8 +5,8 @@ import { render, Icons, Subgraph as Subgraph$1, Vertex as Vertex$1, Edge as Edge
5
5
  import { HTMLTooltip } from '@hpcc-js/html';
6
6
 
7
7
  var PKG_NAME = "@hpcc-js/graph";
8
- var PKG_VERSION = "2.85.3";
9
- var BUILD_VERSION = "2.104.18";
8
+ var PKG_VERSION = "2.85.4";
9
+ var BUILD_VERSION = "2.104.19";
10
10
 
11
11
  /******************************************************************************
12
12
  Copyright (c) Microsoft Corporation.
@@ -18851,6 +18851,7 @@ var DataGraph = /** @class */ (function (_super) {
18851
18851
  var idIdx = this.indexOf(columns, this.vertexIDColumn(), "id");
18852
18852
  var labelIdx = this.indexOf(columns, this.vertexLabelColumn(), "label");
18853
18853
  var centroidIdx = this.indexOf(columns, this.vertexCentroidColumn(), "centroid");
18854
+ var imageUrlIdx = this.indexOf(columns, this.vertexImageUrlColumn(), "faChar");
18854
18855
  var faCharIdx = this.indexOf(columns, this.vertexFACharColumn(), "faChar");
18855
18856
  var vertexTooltipIdx = this.indexOf(columns, this.vertexTooltipColumn(), "tooltip");
18856
18857
  var annotationIdxs = annotationColumns.map(function (ac) { return _this.indexOf(columns, ac.columnID(), ""); });
@@ -18865,6 +18866,7 @@ var DataGraph = /** @class */ (function (_super) {
18865
18866
  origData: toJsonObj(v, columns),
18866
18867
  centroid: !!v[centroidIdx],
18867
18868
  icon: {
18869
+ imageUrl: "" + (v[imageUrlIdx] || _this.vertexImageUrl()),
18868
18870
  imageChar: "" + (v[faCharIdx] || _this.vertexFAChar())
18869
18871
  },
18870
18872
  annotationIDs: annotationIDs,
@@ -19009,6 +19011,14 @@ var DataGraph = /** @class */ (function (_super) {
19009
19011
  publish("", "set", "Vertex centroid column (boolean)", function () { return this.vertexColumns(); }, { optional: true }),
19010
19012
  __metadata("design:type", Function)
19011
19013
  ], DataGraph.prototype, "vertexCentroidColumn", void 0);
19014
+ __decorate([
19015
+ publish("", "string", "Vertex default image url"),
19016
+ __metadata("design:type", Function)
19017
+ ], DataGraph.prototype, "vertexImageUrl", void 0);
19018
+ __decorate([
19019
+ publish("", "set", "Vertex image url column", function () { return this.vertexColumns(); }, { optional: true }),
19020
+ __metadata("design:type", Function)
19021
+ ], DataGraph.prototype, "vertexImageUrlColumn", void 0);
19012
19022
  __decorate([
19013
19023
  publish("?", "string", "Vertex default FAChar"),
19014
19024
  __metadata("design:type", Function)