# haggen/wow architecture

> Architecture diagram of the GitHub repository haggen/wow, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2024-12-27). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/haggen/wow
- Repository: https://github.com/haggen/wow

## Overview

##### Connection Flows

- Development workflow from source to distribution
- Build process flow
- Release pipeline connections
- Integration points between components

##### Technical Details

a) File Structure Representation:
- Src/ directory organization
- Common patterns across add-ons:
- .lua files (core logic)
- .xml files (UI definitions)
- .toc files (metadata)

b) Build/Release Pipeline:
- Scripts/ directory integration
- GitHub Actions workflow
- CurseForge upload process

##### Important Relationships to Highlight

- Linker.ps1 connection to WoW game directory
- GitHub Actions workflow to release process
- CurseForge integration points
- Version management system flow

## Diagram (Mermaid)

```mermaid
flowchart TB
    %% Style Definitions
    classDef addon fill:#a8d1f0,stroke:#333
    classDef infrastructure fill:#90EE90,stroke:#333
    classDef distribution fill:#FFA07A,stroke:#333
    classDef external fill:#D3D3D3,stroke:#333
    classDef wrath fill:#6495ED,stroke:#333
    classDef classic fill:#98FB98,stroke:#333
    classDef mainline fill:#FFD700,stroke:#333

    subgraph AddonsLayer["Add-ons Layer"]
        DR["Dangeradar"]:::addon
        FB["Fastbind"]:::addon
        TV["Tunnelvision"]:::addon
        FE["Fishease"]:::addon
        HA["Hyperauction"]:::addon
        PR["Powerhythm"]:::addon
        SA["Smartab"]:::addon
        TX["Texturer"]:::addon

        subgraph Components["Core Components"]
            API["API Interfaces"]:::addon
            UI["UI Definitions"]:::addon
            MB["Minimap Button"]:::addon
        end
    end

    subgraph Infrastructure["Shared Infrastructure Layer"]
        subgraph DevTools["Development Tools"]
            LS["Linting System"]:::infrastructure
            VM["Version Management"]:::infrastructure
            RM["Release Management"]:::infrastructure
        end

        subgraph BuildSystem["Build System"]
            PC["Package Creation"]:::infrastructure
            CG["Changelog Generation"]:::infrastructure
            ES["Environment Setup"]:::infrastructure
            DL["Development Linker"]:::infrastructure
        end
    end

    subgraph Distribution["Distribution Layer"]
        GH["GitHub Actions"]:::distribution
        CF["CurseForge"]:::distribution
        UP["Upload System"]:::distribution
    end

    subgraph GameSupport["Game Version Support"]
        WR["Wrath"]:::wrath
        VA["Vanilla"]:::classic
        ML["Mainline"]:::mainline
    end

    %% Relationships
    AddonsLayer --> Infrastructure
    Infrastructure --> Distribution
    Components --> BuildSystem
    DevTools --> BuildSystem
    BuildSystem --> Distribution
    GameSupport --> AddonsLayer

    %% Click Events
    click DR "https://github.com/haggen/wow/tree/master/src/Dangeradar/"
    click FB "https://github.com/haggen/wow/tree/master/src/Fastbind/"
    click TV "https://github.com/haggen/wow/tree/master/src/Tunnelvision/"
    click FE "https://github.com/haggen/wow/tree/master/src/Fishease/"
    click HA "https://github.com/haggen/wow/tree/master/src/Hyperauction/"
    click PR "https://github.com/haggen/wow/tree/master/src/Powerhythm/"
    click SA "https://github.com/haggen/wow/tree/master/src/Smartab/"
    click TX "https://github.com/haggen/wow/tree/master/src/Texturer/"
    click API "https://github.com/haggen/wow/blob/master/src/Dangeradar/API.lua"
    click UI "https://github.com/haggen/wow/blob/master/src/Dangeradar/Dangeradar.xml"
    click MB "https://github.com/haggen/wow/blob/master/src/Fastbind/MinimapButton.lua"
    click LS "https://github.com/haggen/wow/blob/master/.luacheckrc"
    click VM "https://github.com/haggen/wow/tree/master/scripts/bump"
    click RM "https://github.com/haggen/wow/tree/master/scripts/release"
    click PC "https://github.com/haggen/wow/tree/master/scripts/archive"
    click CG "https://github.com/haggen/wow/tree/master/scripts/changelog"
    click ES "https://github.com/haggen/wow/tree/master/scripts/env"
    click DL "https://github.com/haggen/wow/blob/master/Linker.ps1"
    click GH "https://github.com/haggen/wow/blob/master/.github/workflows/release.yml"
    click CF "https://github.com/haggen/wow/blob/master/src/Fastbind/.curseforge"
    click UP "https://github.com/haggen/wow/tree/master/scripts/upload"

    %% Legend
    subgraph Legend
        L1["Add-on Component"]:::addon
        L2["Infrastructure"]:::infrastructure
        L3["Distribution"]:::distribution
        L4["Wrath Support"]:::wrath
        L5["Classic Support"]:::classic
        L6["Mainline Support"]:::mainline
    end
```
