UNPKG

sicua

Version:

A tool for analyzing project structure and dependencies

35 lines (34 loc) 743 B
/** * Type definitions for Sigma.js graph data */ export interface ComponentNode { id: string; label: string; x: number; y: number; size: number; color: string; fullPath?: string; directory?: string; parent?: string; fileType?: string; isNextRoute?: boolean; routeType?: string; isComponent?: boolean; hasClientDirective?: boolean; hasServerDirective?: boolean; } export interface DependencyEdge { id: string; source: string; target: string; label?: string; color: string; size: number; type?: "import" | "export" | "dynamic"; } export interface ComponentDependencyGraph { nodes: ComponentNode[]; edges: DependencyEdge[]; version: string; }