From fab7e2f06dd7966c6e524d13f4ed97cd681e6b7c Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Tue, 19 May 2026 10:10:09 +0100 Subject: [PATCH] Keep edge labels annotation sized --- .../src/lib/EpiphanyGraphViewer.tsx | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/web/epiphany-graph-viewer/src/lib/EpiphanyGraphViewer.tsx b/web/epiphany-graph-viewer/src/lib/EpiphanyGraphViewer.tsx index caa11ce..3f470ce 100644 --- a/web/epiphany-graph-viewer/src/lib/EpiphanyGraphViewer.tsx +++ b/web/epiphany-graph-viewer/src/lib/EpiphanyGraphViewer.tsx @@ -616,17 +616,11 @@ export function EpiphanyGraphViewer({ strokeLinejoin="round" vectorEffect="non-scaling-stroke" /> - {!expandedNodeMatches && - (isSelected || isConnected || (!compactGraph && activeTransform.scale > 1.75)) && - edge.label?.trim() && ( + {isSelected && edge.label?.trim() && (