import type { GraphEdge, GraphPosition } from "./types.js"; import "./GraphHighlight.css"; interface GraphEdgesProps { edges: GraphEdge[]; positions: Map; nodeWidth?: number; nodeHeight?: number; nodeHeights?: ReadonlyMap; highlightedEdgeIds?: Set; } const DEFAULT_NODE_WIDTH = 280; const DEFAULT_NODE_HEIGHT = 100; /** * FNXC:DependencyGraphEdges 2026-06-19-08:59: * Browser SVG presentation attributes do not resolve CSS custom properties, so dependency edge theme paint and widths must travel through real CSS via inline style or classes. * Keep only literal SVG-safe values such as fill="none" as presentation attributes so dependency connector strokes and arrowheads remain visible across default, highlighted, and dimmed states. */ export function GraphEdges({ edges, positions, nodeWidth = DEFAULT_NODE_WIDTH, nodeHeight = DEFAULT_NODE_HEIGHT, nodeHeights, highlightedEdgeIds, }: GraphEdgesProps) { const hasHighlights = Boolean(highlightedEdgeIds && highlightedEdgeIds.size > 0); return ( ); }