export interface GraphEntity { id: string; name: string; type: string; description?: string; labels?: string[]; aliases?: string[]; properties?: Record; sourceId?: string; sourceType?: string; graphId: string; confidence?: number; createdAt?: string; updatedAt?: string; } export interface EntitySummaryVO { id: string; name: string; type: string; description?: string; } export interface EdgeSummaryVO { id: string; sourceEntityId: string; targetEntityId: string; relationType: string; weight?: number; } export interface SubgraphVO { nodes: EntitySummaryVO[]; edges: EdgeSummaryVO[]; nodeCount: number; edgeCount: number; } export interface RelationVO { id: string; sourceEntityId: string; sourceEntityName: string; sourceEntityType: string; targetEntityId: string; targetEntityName: string; targetEntityType: string; relationType: string; properties?: Record; weight?: number; confidence?: number; sourceId?: string; graphId: string; createdAt?: string; } export interface SearchHitVO { id: string; name: string; type: string; description?: string; score: number; } export interface PagedResponse { page: number; size: number; totalElements: number; totalPages: number; content: T[]; } export interface PathVO { nodes: EntitySummaryVO[]; edges: EdgeSummaryVO[]; pathLength: number; } export interface AllPathsVO { paths: PathVO[]; pathCount: number; }