import { CategoryId } from "./category"; import { EdgeId } from "./edge"; import { Properties } from "./properties"; import { NodeStyles } from "./styles"; import { Brand } from "./typescript/brand"; export type NodeId = Brand; export interface LegacyNodeCollection { nodes: NodeId[]; edges: EdgeId[]; key: NodeId; } export type LegacyNode = NodeStyles & { id: NodeId; category: CategoryId; collection?: LegacyNodeCollection; data: { detail: { type: CategoryId; data: Properties; }; }; properties: Properties; neighbor: NodeId[]; connectedEdge: EdgeId[]; };