diff --git a/source/configuration.ts b/source/configuration.ts index f8c67f9..48944c6 100644 --- a/source/configuration.ts +++ b/source/configuration.ts @@ -260,6 +260,11 @@ export class Configuration { (labels.names as object) = Object.fromEntries(this._labels.names as Map); } + // Needed ? + // if (labels.additionallyLabelSet && typeof labels.additionallyLabelSet !== "string") { + // (labels.additionallyLabelSet as Array) = Array.from((this._labels.additionallyLabelSet as Set).values()); + // } + return labels; } @@ -464,6 +469,7 @@ export namespace Configuration { numTopWeightNodes?: number; numTopHeightNodes?: number; numTopColorNodes?: number; + additionallyLabelSet?: BufferIdentifier | Set; } }