# diegobr2024/stockpro-unity architecture

> Architecture diagram of the GitHub repository diegobr2024/stockpro-unity, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-17). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/diegobr2024/stockpro-unity
- Repository: https://github.com/diegobr2024/stockpro-unity

## Overview

The tree suggests a Unity inventory and sales application, with scripts named for product selection, purchasing, customer and sales views, and Supabase login. No README or source excerpts are available, so the intended user workflow and connections between components cannot be verified; the graph lists the identifiable runtime areas without asserting call relationships.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_ui["Unity UI"]
  node_managerui["UI Manager<br/>[ManagerUI.cs]"]
  node_manager["App Manager<br/>[Manager.cs]"]
  node_editor["Editor UI<br/>[editor.cs]"]
end

subgraph group_domain["Inventory and Sales"]
  node_add["Add Item<br/>[Adicionar.cs]"]
  node_delete["Delete Item<br/>[DeleteItem.cs]"]
  node_search["Product Search<br/>[Search.cs]"]
  node_select["Product Selection<br/>[SelectProduct.cs]"]
  node_customers["Customer View<br/>[ExibirClientes.cs]"]
  node_locations["Location View"]
  node_sales["Sales View"]
  node_purchases["Purchase Data<br/>[Compras.json]"]
  node_stock["Inventory Data<br/>[estoque.json]"]
end

subgraph group_auth["Configuration and Auth"]
  node_config["App Config<br/>[Config.cs]"]
  node_assetconfig["Asset Config<br/>[AssetsConfig.json]"]
  node_login["Supabase Login<br/>[SupaBaselogin.cs]"]
end

node_user(("User"))

click node_managerui "https://github.com/diegobr2024/stockpro-unity/blob/main/Assets/ManagerUI.cs"
click node_manager "https://github.com/diegobr2024/stockpro-unity/blob/main/Assets/Manager.cs"
click node_editor "https://github.com/diegobr2024/stockpro-unity/blob/main/Assets/editor.cs"
click node_add "https://github.com/diegobr2024/stockpro-unity/blob/main/Assets/Adicionar.cs"
click node_delete "https://github.com/diegobr2024/stockpro-unity/blob/main/Assets/DeleteItem.cs"
click node_search "https://github.com/diegobr2024/stockpro-unity/blob/main/Assets/Search.cs"
click node_select "https://github.com/diegobr2024/stockpro-unity/blob/main/Assets/SelectProduct.cs"
click node_customers "https://github.com/diegobr2024/stockpro-unity/blob/main/Assets/ExibirClientes.cs"
click node_locations "https://github.com/diegobr2024/stockpro-unity/blob/main/Assets/ExibirLocalizatio.cs"
click node_sales "https://github.com/diegobr2024/stockpro-unity/blob/main/Assets/ExibirProdutosVendidos.cs"
click node_purchases "https://github.com/diegobr2024/stockpro-unity/blob/main/Compras.json"
click node_stock "https://github.com/diegobr2024/stockpro-unity/blob/main/estoque.json"
click node_config "https://github.com/diegobr2024/stockpro-unity/blob/main/Assets/Config.cs"
click node_assetconfig "https://github.com/diegobr2024/stockpro-unity/blob/main/AssetsConfig.json"
click node_login "https://github.com/diegobr2024/stockpro-unity/blob/main/Assets/SupaBaselogin.cs"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_managerui,node_manager,node_editor,node_user toneBlue
class node_add,node_delete,node_search,node_select,node_customers,node_locations,node_sales,node_purchases,node_stock toneAmber
class node_config,node_assetconfig,node_login toneMint
```

## Components

### Unity UI

- [UI Manager](https://github.com/diegobr2024/stockpro-unity/blob/main/Assets/ManagerUI.cs): `Assets/ManagerUI.cs`
- [App Manager](https://github.com/diegobr2024/stockpro-unity/blob/main/Assets/Manager.cs): `Assets/Manager.cs`
- [Editor UI](https://github.com/diegobr2024/stockpro-unity/blob/main/Assets/editor.cs): `Assets/editor.cs`

### Inventory and Sales

- [Add Item](https://github.com/diegobr2024/stockpro-unity/blob/main/Assets/Adicionar.cs): `Assets/Adicionar.cs`
- [Delete Item](https://github.com/diegobr2024/stockpro-unity/blob/main/Assets/DeleteItem.cs): `Assets/DeleteItem.cs`
- [Product Search](https://github.com/diegobr2024/stockpro-unity/blob/main/Assets/Search.cs): `Assets/Search.cs`
- [Product Selection](https://github.com/diegobr2024/stockpro-unity/blob/main/Assets/SelectProduct.cs): `Assets/SelectProduct.cs`
- [Customer View](https://github.com/diegobr2024/stockpro-unity/blob/main/Assets/ExibirClientes.cs): `Assets/ExibirClientes.cs`
- [Location View](https://github.com/diegobr2024/stockpro-unity/blob/main/Assets/ExibirLocalizatio.cs): `Assets/ExibirLocalizatio.cs`
- [Sales View](https://github.com/diegobr2024/stockpro-unity/blob/main/Assets/ExibirProdutosVendidos.cs): `Assets/ExibirProdutosVendidos.cs`
- [Purchase Data](https://github.com/diegobr2024/stockpro-unity/blob/main/Compras.json): `Compras.json`
- [Inventory Data](https://github.com/diegobr2024/stockpro-unity/blob/main/estoque.json): `estoque.json`

### Configuration and Auth

- [App Config](https://github.com/diegobr2024/stockpro-unity/blob/main/Assets/Config.cs): `Assets/Config.cs`
- [Asset Config](https://github.com/diegobr2024/stockpro-unity/blob/main/AssetsConfig.json): `AssetsConfig.json`
- [Supabase Login](https://github.com/diegobr2024/stockpro-unity/blob/main/Assets/SupaBaselogin.cs): `Assets/SupaBaselogin.cs`

### Other components

- **User**
