@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 +12 -2
- package/dist/index.es6.js.map +1 -1
- package/dist/index.js +12 -2
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/package.json +3 -3
- package/src/__package__.ts +2 -2
- package/src/__tests__/data.ts +2 -2
- package/src/__tests__/index.ts +1 -1
- package/src/__tests__/test2.ts +2 -1
- package/src/graph2/dataGraph.ts +6 -0
- package/types/__package__.d.ts +2 -2
- package/types/__tests__/index.d.ts +1 -1
- package/types/__tests__/test2.d.ts.map +1 -1
- package/types/graph2/dataGraph.d.ts +2 -0
- package/types/graph2/dataGraph.d.ts.map +1 -1
- package/types-3.4/__package__.d.ts +2 -2
- package/types-3.4/__tests__/index.d.ts +1 -1
- package/types-3.4/graph2/dataGraph.d.ts +2 -0
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.
|
|
9
|
-
var BUILD_VERSION = "2.104.
|
|
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)
|