We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 500bbd8 commit 3349b59Copy full SHA for 3349b59
packages/gephi-lite/src/core/appearance/utils.ts
@@ -274,7 +274,8 @@ export function makeGetStringAttr<
274
let getLabel: StringAttrGetter | null = null;
275
switch (stringAttrDef.type) {
276
case "none":
277
- getLabel = () => null;
+ // using "" instead of null to workaround adge-node labels dependency see https://github.com/jacomyal/sigma.js/issues/1527
278
+ getLabel = () => "";
279
break;
280
case "fixed":
281
getLabel = () => stringAttrDef.value;
0 commit comments