diff --git a/packages/frontend/src/components/graph/Graph.tsx b/packages/frontend/src/components/graph/Graph.tsx index a07661fd..4b9942d8 100644 --- a/packages/frontend/src/components/graph/Graph.tsx +++ b/packages/frontend/src/components/graph/Graph.tsx @@ -102,6 +102,7 @@ function renderD3(svgRef: RefObject, data: InitialDataProps[]) { .transition() .duration(DURATION) .style("opacity", 1) + .style("cursor", "pointer") .attr( "fill", (d: d3.HierarchyPointNode) => d.data?.color ?? "", diff --git a/packages/frontend/src/components/graph/renderTooltip.ts b/packages/frontend/src/components/graph/renderTooltip.ts index 461979fa..077880d0 100644 --- a/packages/frontend/src/components/graph/renderTooltip.ts +++ b/packages/frontend/src/components/graph/renderTooltip.ts @@ -58,10 +58,9 @@ export default function renderTooltip( .append("rect") .attr("width", 30) .attr("height", 30) - // 요기나 - .attr("fill", "transparent") // 요기 바꿔보심 돼여 - .attr("stroke", color.$scale.grey300) + .attr("fill", "transparent") + .style("cursor", "pointer") .attr("transform", transparentRectPosition); tooltip