@hpcc-js/graph 2.79.4 → 2.79.5

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, Subgraph as Subgraph$1, Icons, Vertex as Vertex$1, Vertex3, Cen
5
5
  import { HTMLTooltip } from '@hpcc-js/html';
6
6
 
7
7
  var PKG_NAME = "@hpcc-js/graph";
8
- var PKG_VERSION = "2.79.4";
9
- var BUILD_VERSION = "2.102.10";
8
+ var PKG_VERSION = "2.79.5";
9
+ var BUILD_VERSION = "2.102.11";
10
10
 
11
11
  /*! *****************************************************************************
12
12
  Copyright (c) Microsoft Corporation.
@@ -12198,7 +12198,7 @@ var GraphData = /** @class */ (function () {
12198
12198
  retVal.addedEdges.push(edge);
12199
12199
  }
12200
12200
  else {
12201
- console.log("Bad edge definition");
12201
+ console.warn("Bad edge definition");
12202
12202
  }
12203
12203
  }
12204
12204
  }
@@ -13542,7 +13542,6 @@ var Subgraph = /** @class */ (function (_super) {
13542
13542
  return nearest && nearest.i ? nearest.i : null;
13543
13543
  };
13544
13544
  Subgraph.prototype.click = function (d) {
13545
- console.log("Clicked: " + d.id);
13546
13545
  };
13547
13546
  Subgraph.prototype.minClick = function () {
13548
13547
  switch (this._minState) {
@@ -13686,7 +13685,7 @@ var Vertex = /** @class */ (function (_super) {
13686
13685
  annotationWidget[key](d[key]);
13687
13686
  }
13688
13687
  else if (globalThis.__hpcc_debug) {
13689
- console.log("Invalid annotation property: " + key);
13688
+ console.warn("Invalid annotation property: " + key);
13690
13689
  }
13691
13690
  }
13692
13691
  annotationWidget.render();
@@ -14299,12 +14298,9 @@ var Graph = /** @class */ (function (_super) {
14299
14298
  var context = _this;
14300
14299
  var layoutEngine = _this.getLayoutEngine();
14301
14300
  if (_this.layout() === "ForceDirected2") {
14302
- var total_1 = 0;
14303
- var count_1 = 0;
14304
14301
  _this.forceLayout = layoutEngine;
14305
14302
  _this.forceLayout.force
14306
14303
  .on("tick", function () {
14307
- var start = performance.now();
14308
14304
  context.progress("layout-tick");
14309
14305
  layoutEngine.vertices.forEach(function (item) {
14310
14306
  if (item.fixed) ;
@@ -14324,9 +14320,6 @@ var Graph = /** @class */ (function (_super) {
14324
14320
  .points([], false, false);
14325
14321
  });
14326
14322
  if (context.applyScaleOnLayout()) ;
14327
- total_1 += performance.now() - start;
14328
- ++count_1;
14329
- console.log("tick:" + (total_1 / count_1));
14330
14323
  })
14331
14324
  .on("end", function () {
14332
14325
  context.progress("layout-end");
@@ -14765,7 +14758,7 @@ var AdjacencyGraph = /** @class */ (function (_super) {
14765
14758
  .data(childRow);
14766
14759
  }
14767
14760
  else {
14768
- console.log("Missing vertices for edge: " + edgeID);
14761
+ console.warn("Missing vertices for edge: " + edgeID);
14769
14762
  }
14770
14763
  }
14771
14764
  if (retVal) {
@@ -14796,7 +14789,6 @@ var AdjacencyGraph = /** @class */ (function (_super) {
14796
14789
  _super.prototype.update.call(this, domNode, element);
14797
14790
  };
14798
14791
  AdjacencyGraph.prototype.click = function (row, col, sel) {
14799
- console.log("click");
14800
14792
  };
14801
14793
  return AdjacencyGraph;
14802
14794
  }(Graph));
@@ -15429,10 +15421,8 @@ var Sankey = /** @class */ (function (_super) {
15429
15421
  };
15430
15422
  // Events ---
15431
15423
  Sankey.prototype.click = function (row, column, selected) {
15432
- console.log("Click: " + JSON.stringify(row) + ", " + column + "," + selected);
15433
15424
  };
15434
15425
  Sankey.prototype.dblclick = function (row, column, selected) {
15435
- console.log("Double Click: " + JSON.stringify(row) + ", " + column + "," + selected);
15436
15426
  };
15437
15427
  return Sankey;
15438
15428
  }(SVGWidget));
@@ -18401,10 +18391,8 @@ var SankeyGraph = /** @class */ (function (_super) {
18401
18391
  };
18402
18392
  // Events ---
18403
18393
  SankeyGraph.prototype.click = function (row, column, selected) {
18404
- console.log("Click: " + JSON.stringify(row) + ", " + column + "," + selected);
18405
18394
  };
18406
18395
  SankeyGraph.prototype.dblclick = function (row, column, selected) {
18407
- console.log("Double Click: " + JSON.stringify(row) + ", " + column + "," + selected);
18408
18396
  };
18409
18397
  __decorate([
18410
18398
  publish([], "any", "Vertex Columns", null, { internal: true }),