spytial-core 1.6.0 → 1.6.1

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.
@@ -93245,7 +93245,8 @@ VVbdfjptxz|~\x80\x82\x84\xA6\xA8W\b
93245
93245
  nodeSelection.append("rect").attr("width", (d) => d.width).attr("height", (d) => d.height).attr("x", (d) => -d.width / 2).attr("y", (d) => -d.height / 2).attr("stroke", (d) => d.color || "black").attr("rx", _WebColaCnDGraph.NODE_BORDER_RADIUS).attr("ry", _WebColaCnDGraph.NODE_BORDER_RADIUS).attr("stroke-width", _WebColaCnDGraph.NODE_STROKE_WIDTH).attr("fill", (d) => {
93246
93246
  const isHidden = this.isHiddenNode(d);
93247
93247
  const hasIcon = !!d.icon;
93248
- const fill = isHidden || hasIcon ? "transparent" : "white";
93248
+ const showLabels = d.showLabels;
93249
+ const fill = isHidden || hasIcon && !showLabels ? "transparent" : "white";
93249
93250
  return fill;
93250
93251
  });
93251
93252
  }