export interface NodeObj { topic: string; id: string; tags?: string[]; children?: NodeObj[]; } export interface Summary { id: string; label: string; parent: string; start: number; end: number; } export interface MindMapData { nodeData: NodeObj; summaries?: Summary[]; } export interface Arrow { id: string; label: string; from: string; to: string; delta1: { x: number; y: number; }; bidirectional?: boolean; } export interface ArrowsData { arrows?: Arrow[]; }