graph TD
    mermaid_generator[MermaidGenerator]
    complexity[ComplexityAnalyzer]
    dag_builder[DagBuilder]
    ast_rust[RustAST]
    code_intelligence[CodeIntelligence]
    template_service[TemplateService]

    code_intelligence --> dag_builder
    dag_builder --> ast_rust
    dag_builder --> mermaid_generator
    code_intelligence --> complexity
    template_service --- ast_rust

    style mermaid_generator fill:#FFA500,stroke-width:2px
    style complexity fill:#FF6347,stroke-width:2px
    style dag_builder fill:#FF6347,stroke-width:2px
    style ast_rust fill:#FF6347,stroke-width:2px
    style code_intelligence fill:#FF6347,stroke-width:2px
    style template_service fill:#FFA500,stroke-width:2px
