icn3d 3.51.1 → 3.51.2

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/icn3d.js CHANGED
@@ -100985,6 +100985,8 @@ class GetGraph {
100985
100985
  "#" + ic.hColor.getHexString().toUpperCase();
100986
100986
  let pos = node.id.indexOf('.');
100987
100987
  let nodeName =(pos == -1) ? node.id : node.id.substr(0, pos);
100988
+ if(nodeName.length > 4) nodeName = nodeName.substr(0, 1) + '..' + nodeName.substr(nodeName.length - 2);
100989
+
100988
100990
  let adjustx = 0, adjusty =(setName == 'a') ? -7 : 10;
100989
100991
  if(i % 2 == 1) adjusty =(setName == 'a') ? adjusty - 7 : adjusty + 7;
100990
100992
 
@@ -135861,7 +135863,7 @@ class iCn3DUI {
135861
135863
  //even when multiple iCn3D viewers are shown together.
135862
135864
  this.pre = this.cfg.divid + "_";
135863
135865
 
135864
- this.REVISION = '3.51.0';
135866
+ this.REVISION = '3.51.1';
135865
135867
 
135866
135868
  // In nodejs, iCn3D defines "window = {navigator: {}}", and added window = {navigator: {}, "__THREE__":"177"}
135867
135869
  this.bNode = (Object.keys(window).length < 3) ? true : false;