# moax342/tools architecture

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

- Interactive diagram: https://gitdiagram.com/moax342/tools
- Repository: https://github.com/moax342/tools

## Overview

This repository appears to be a browser-based set of business and operations tools. The sampled JavaScript supports bilingual settings and two calculator workflows: return valuation and gift-quantity recommendations, including results display and CSV export. Other pages are identified only by their filenames; without README content or HTML excerpts, their detailed behavior and how users navigate between them cannot be verified. The graph therefore keeps those capabilities as separate page nodes and omits unverified connections.

Main entry points: [`operations_tools.js`](https://github.com/moax342/tools/blob/main/operations_tools.js) (Calculator logic), [`operations_tools.html`](https://github.com/moax342/tools/blob/main/operations_tools.html) (Operations calculators), [`account_statement.html`](https://github.com/moax342/tools/blob/main/account_statement.html) (Account statement), [`ledger_analyzer.html`](https://github.com/moax342/tools/blob/main/ledger_analyzer.html) (Ledger analyzer)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_operations["Operations tools"]
  node_operations_page["Operations calculators"]
  node_operations_logic["Calculator logic"]
  node_return_calc["Return valuation"]
  node_gift_calc["Gift recommendations"]
end

subgraph group_analysis["Business analysis"]
  node_account_statement["Account statement"]
  node_ledger_analyzer["Ledger analyzer"]
  node_profit_analyzer["Profit analyzer"]
end

subgraph group_shared["Shared interface"]
  node_landing["Landing page<br/>[index.html]"]
  node_shared_styles["Shared styling"]
end

node_user(("User"))

node_user -.->|"uses"| node_operations_page
node_operations_page -.->|"loads"| node_operations_logic
node_operations_logic -->|"calculates"| node_return_calc
node_operations_logic -->|"calculates"| node_gift_calc
node_user -.->|"uses"| node_account_statement
node_user -.->|"uses"| node_ledger_analyzer
node_user -.->|"uses"| node_profit_analyzer
node_user -.->|"opens"| node_landing

click node_operations_page "https://github.com/moax342/tools/blob/main/operations_tools.html"
click node_operations_logic "https://github.com/moax342/tools/blob/main/operations_tools.js"
click node_return_calc "https://github.com/moax342/tools/blob/main/operations_tools.js"
click node_gift_calc "https://github.com/moax342/tools/blob/main/operations_tools.js"
click node_account_statement "https://github.com/moax342/tools/blob/main/account_statement.html"
click node_ledger_analyzer "https://github.com/moax342/tools/blob/main/ledger_analyzer.html"
click node_profit_analyzer "https://github.com/moax342/tools/blob/main/profit_analyzer.html"
click node_landing "https://github.com/moax342/tools/blob/main/index.html"
click node_shared_styles "https://github.com/moax342/tools/blob/main/operations_tools.css"

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_operations_page,node_operations_logic,node_return_calc,node_gift_calc,node_user toneBlue
class node_account_statement,node_ledger_analyzer,node_profit_analyzer toneAmber
class node_landing,node_shared_styles toneMint
```

## Components

### Operations tools

- [Operations calculators](https://github.com/moax342/tools/blob/main/operations_tools.html): `operations_tools.html`
- [Calculator logic](https://github.com/moax342/tools/blob/main/operations_tools.js): `operations_tools.js`
- [Return valuation](https://github.com/moax342/tools/blob/main/operations_tools.js): `operations_tools.js`
- [Gift recommendations](https://github.com/moax342/tools/blob/main/operations_tools.js): `operations_tools.js`

### Business analysis

- [Account statement](https://github.com/moax342/tools/blob/main/account_statement.html): `account_statement.html`
- [Ledger analyzer](https://github.com/moax342/tools/blob/main/ledger_analyzer.html): `ledger_analyzer.html`
- [Profit analyzer](https://github.com/moax342/tools/blob/main/profit_analyzer.html): `profit_analyzer.html`

### Shared interface

- [Landing page](https://github.com/moax342/tools/blob/main/index.html): `index.html`
- [Shared styling](https://github.com/moax342/tools/blob/main/operations_tools.css): `operations_tools.css`

### Other components

- **User**

## Connections

- User → Operations calculators: uses
- Operations calculators → Calculator logic: loads
- Calculator logic → Return valuation: calculates (evidence: `operations_tools.js`)
- Calculator logic → Gift recommendations: calculates (evidence: `operations_tools.js`)
- User → Account statement: uses
- User → Ledger analyzer: uses
- User → Profit analyzer: uses
- User → Landing page: opens
