# thangchung/clean-code-dotnet architecture

> Architecture diagram of the GitHub repository thangchung/clean-code-dotnet, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2025-01-27). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/thangchung/clean-code-dotnet
- Repository: https://github.com/thangchung/clean-code-dotnet

## Overview

##### Main Components

a) Core Educational Content Structure
- Major topic branches:
- Naming Conventions
- Variables
- Functions
- Objects & Data Structures
- Classes
- SOLID Principles
- Testing
- Concurrency
- Error Handling
- Formatting
- Comments

b) Supporting Resources Layer
- Cheatsheets Repository
- External Resources Links
- Code Examples
- Style Guides
- Tools References

##### Content Flow & Relationships

- Concept dependencies (e.g., basic principles leading to advanced topics)
- Implementation relationships between different sections
- Cross-references between related concepts

##### Documentation Integration

- References to specific sections in the README
- Links to relevant cheatsheets
- To external resources mentioned in the project

##### Implementation Notes

- Use a vector-based drawing tool for maintainability
- Make it exportable to common formats (SVG, PNG, PDF)
- Creating both detailed and overview versions

Remember to:
- Use consistent styling throughout
- Make it easy to navigate
- It's scalable for future additions
- Clear entry points for different skill levels

## Diagram (Mermaid)

```mermaid
graph TB
    subgraph Legend
        A1[Main Concept]:::concept
        A2([Supporting Resource]):::resource
        A3{{Code Example}}:::code
        A4[/Best Practice/]:::practice
        A5[[External Reference]]:::external
    end

    subgraph Core["Core Educational Content"]
        CC[Clean Code Concepts]:::concept
        click CC "https://github.com/thangchung/clean-code-dotnet/blob/master/README.md"
        
        NC[Naming Conventions]:::concept
        VAR[Variables]:::concept
        FN[Functions]:::concept
        OBJ[Objects & Data Structures]:::concept
        CLS[Classes]:::concept
        SOL[SOLID Principles]:::concept
        TST[Testing]:::concept
        CON[Concurrency]:::concept
        ERR[Error Handling]:::concept
        FMT[Formatting]:::concept
        COM[Comments]:::concept

        CC --> NC
        CC --> VAR
        CC --> FN
        CC --> OBJ
        CC --> CLS
        CC --> SOL
        CC --> TST
        CC --> CON
        CC --> ERR
        CC --> FMT
        CC --> COM
    end

    subgraph Resources["Supporting Resources Layer"]
        CHT([Cheatsheets Repository]):::resource
        click CHT "https://github.com/thangchung/clean-code-dotnet/tree/master/cheatsheets/"
        
        CCG([Clean Code Guide]):::resource
        click CCG "https://github.com/thangchung/clean-code-dotnet/blob/master/cheatsheets/Clean-Code-V2.4.pdf"
        
        CAG([Architecture Guide]):::resource
        click CAG "https://github.com/thangchung/clean-code-dotnet/blob/master/cheatsheets/Clean-Architecture-V1.0.pdf"
        
        EXT[[External Resources]]:::external
        IMPL{{Implementation Examples}}:::code
        click IMPL "https://github.com/thangchung/clean-code-dotnet/blob/master/Program.cs"
        
        VIS([Visual Resources]):::resource
        click VIS "https://github.com/thangchung/clean-code-dotnet/tree/master/assets/"
        
        STY[/Style Guides/]:::practice
        TOOL[/Tools References/]:::practice
    end

    I18N[Internationalized Content]:::external
    click I18N "https://github.com/thangchung/clean-code-dotnet/blob/master/README-zh.md"

    CC --> CHT
    CC --> EXT
    CC --> IMPL
    CC --> STY
    CC --> TOOL
    CC --> I18N

    CHT --> CCG
    CHT --> CAG
    CC --> VIS

    classDef concept fill:#90EE90,stroke:#333,stroke-width:2px
    classDef resource fill:#87CEEB,stroke:#333,stroke-width:2px
    classDef code fill:#DDA0DD,stroke:#333,stroke-width:2px
    classDef practice fill:#FFA500,stroke:#333,stroke-width:2px
    classDef external fill:#D3D3D3,stroke:#333,stroke-width:2px
```
