UNPKG

userpravah

Version:

UserPravah is an extensible, framework-agnostic tool for analyzing user flows and navigation patterns in web applications. It supports multiple frameworks (Angular, React) and output formats (DOT/Graphviz, JSON) with a plugin-based architecture for easy e

22 lines (21 loc) 851 B
import { IOutputGenerator, OutputGenerationOptions, GeneratedOutput } from "../../core/output-generator.interface.js"; import { AnalysisResult } from "../../core/types.js"; export declare class DotGenerator implements IOutputGenerator { getFormatName(): string; getFileExtension(): string; getSupportedOptions(): string[]; validateOptions(options: OutputGenerationOptions): string[]; generate(analysisResult: AnalysisResult, options: OutputGenerationOptions): Promise<GeneratedOutput>; private createGraph; private convertAnalysisToGraphData; private applyTheme; private getNodeColor; private generateVibrantColor; private hslToHex; private getFontColor; private getEdgeAttributes; private cleanRoutePath; private getNodeCategory; private deriveDisplayName; private generateImage; }