/** * Graph Visualizer * * Generates visual representations of the architecture graph: * - DOT format (for Graphviz) * - Interactive HTML (using viz.js) * * Output files go to tmp/webpieces/ for easy viewing without committing. */ import type { EnhancedGraph } from './graph-sorter'; /** * Generate Graphviz DOT format from the graph */ export declare function generateDot(graph: EnhancedGraph, title?: string): string; /** * Generate interactive HTML with embedded SVG using viz.js */ export declare function generateHTML(dot: string, title?: string): string; interface VisualizationPaths { dotPath: string; htmlPath: string; } /** * Write visualization files to tmp/webpieces/ */ export declare function writeVisualization(graph: EnhancedGraph, workspaceRoot: string, title?: string): VisualizationPaths; /** * Open the HTML visualization in the default browser */ export declare function openVisualization(htmlPath: string): boolean; export {};