Revert "fix: address failing argos tests"

This reverts commit 8f9ee39af7.
This commit is contained in:
darshanr0107
2025-09-03 13:50:12 +05:30
parent 8f9ee39af7
commit a495eb03e2
2 changed files with 1 additions and 11 deletions

View File

@@ -36,16 +36,10 @@ export async function textHelper<T extends SVGGraphicsElement>(
annotationGroup = shapeSvg.insert('g').attr('class', 'annotation-group text');
if (node.annotations.length > 0) {
const annotation = node.annotations[0];
await addText(annotationGroup, { text: `«${annotation}»` } as unknown as ClassMember, 0);
annotationGroup.style('opacity', '0');
await addText(annotationGroup, { text: `` } as unknown as ClassMember, 0);
const annotationGroupBBox = annotationGroup.node()!.getBBox();
annotationGroupHeight = annotationGroupBBox.height;
} else {
annotationGroupHeight = 0;
}
labelGroup = shapeSvg.insert('g').attr('class', 'label-group text');

View File

@@ -53,10 +53,6 @@ g.clickable {
cursor: pointer;
}
g.annotation-group[style*="opacity: 0"] {
pointer-events: none;
}
g.classGroup rect {
fill: ${options.mainBkg};
stroke: ${options.nodeBorder};