diff --git a/src/routes/hot-map.tsx b/src/routes/hot-map.tsx index c6dcabe..c75000b 100644 --- a/src/routes/hot-map.tsx +++ b/src/routes/hot-map.tsx @@ -815,9 +815,9 @@ function HotMapGraph({ graph }: { graph: ThemeGraph }) { ) .force("charge", forceManyBody().strength((d) => (d.type === "theme" ? -650 : -35))) .force("center", forceCenter(size.w / 2, size.h / 2)) - // 题材节点留出标签高度防文字重叠(标签在节点下方) + // 题材节点留出标签高度防文字重叠(标签在节点下方);股票节点留 6px 最小间隔 .force("collide", forceCollide().radius((d) => - d.type === "theme" ? d.radius + (isCoarse ? 20 : 16) : d.radius + 4, + d.type === "theme" ? d.radius + (isCoarse ? 20 : 16) : d.radius + 6, )); simRunningRef.current = true;