Expand description
egui-cha-analyzer: Static analyzer for egui UI flow
Extracts and visualizes the UI -> Action -> State flow from egui code.
§Example
ⓘ
use egui_cha_analyzer::Analyzer;
let analyzer = Analyzer::new();
let result = analyzer.analyze_file("src/app.rs")?;
// Generate Mermaid flowchart
let mermaid = result.to_mermaid();Re-exports§
pub use types::AnalysisResult;
Modules§
- action_
extractor - Extract actions from egui Response checks
- flow_
extractor - Extract UI flows with scope-aware analysis
- graph_
generator - Generate Mermaid flowcharts from analysis results
- state_
extractor - Extract state mutations from egui code
- tea_
extractor - Extract TEA (The Elm Architecture) patterns
- types
- Core types for egui flow analysis
- ui_
extractor - Extract UI elements from egui code
Structs§
- Analyzer
- Main analyzer for egui UI flow