refactor(research): update graph component to accept API data as props

This commit is contained in:
anthrodjear 2026-05-08 08:22:36 +03:00
parent 5b0df7fa8b
commit 7c4d71500c

View file

@ -1,11 +1,6 @@
import { useState } from "react"
interface ResearchNode {
name: string
abbr: string
x: number
y: number
}
import type { ResearchNode } from "@/api/research"
interface ResearchGraphProps {
nodes: ResearchNode[]