# githubtraining/hellogitworld architecture

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

- Interactive diagram: https://gitdiagram.com/githubtraining/hellogitworld
- Repository: https://github.com/githubtraining/hellogitworld

## Overview

This is a small Git-class demonstration repository, not a substantial application. Its README describes experimenting with labels, branches, code changes, merges, and image diffs. The sampled Java entry point only prints a greeting; the Groovy arithmetic files are present in the tree, but their implementations and relationships were not sampled, so they are shown without inferred behavior.

Main entry points: [`README.txt`](https://github.com/githubtraining/hellogitworld/blob/master/README.txt) (Class guide)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_learner(("Git learner"))
node_readme["Class guide<br/>[README.txt]"]
node_labels["Apply labels<br/>[README.txt]"]
node_branches["Branch changes<br/>[README.txt]"]
node_merge["Merge code<br/>[README.txt]"]
node_image_diff["Image diff<br/>[README.txt]"]
node_app["Greeting app<br/>[App.java]"]
node_division["Division source<br/>[Division.groovy]"]
node_square["Square source<br/>[Square.groovy]"]
node_subtract["Subtract source<br/>[Subtract.groovy]"]
node_sum["Sum source<br/>[Sum.groovy]"]

node_learner -->|"uses guide"| node_readme
node_readme -->|"describes"| node_labels
node_readme -->|"describes"| node_branches
node_readme -->|"describes"| node_merge
node_readme -->|"describes"| node_image_diff

click node_readme "https://github.com/githubtraining/hellogitworld/blob/master/README.txt"
click node_labels "https://github.com/githubtraining/hellogitworld/blob/master/README.txt"
click node_branches "https://github.com/githubtraining/hellogitworld/blob/master/README.txt"
click node_merge "https://github.com/githubtraining/hellogitworld/blob/master/README.txt"
click node_image_diff "https://github.com/githubtraining/hellogitworld/blob/master/README.txt"
click node_app "https://github.com/githubtraining/hellogitworld/blob/master/src/main/java/com/github/App.java"
click node_division "https://github.com/githubtraining/hellogitworld/blob/master/src/Division.groovy"
click node_square "https://github.com/githubtraining/hellogitworld/blob/master/src/Square.groovy"
click node_subtract "https://github.com/githubtraining/hellogitworld/blob/master/src/Subtract.groovy"
click node_sum "https://github.com/githubtraining/hellogitworld/blob/master/src/Sum.groovy"

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_learner toneIndigo
class node_readme,node_labels,node_branches,node_merge,node_image_diff,node_app,node_division,node_square,node_subtract,node_sum toneTeal
```

## Components

### Other components

- **Git learner**
- [Class guide](https://github.com/githubtraining/hellogitworld/blob/master/README.txt): `README.txt`
- [Apply labels](https://github.com/githubtraining/hellogitworld/blob/master/README.txt): `README.txt`
- [Branch changes](https://github.com/githubtraining/hellogitworld/blob/master/README.txt): `README.txt`
- [Merge code](https://github.com/githubtraining/hellogitworld/blob/master/README.txt): `README.txt`
- [Image diff](https://github.com/githubtraining/hellogitworld/blob/master/README.txt): `README.txt`
- [Greeting app](https://github.com/githubtraining/hellogitworld/blob/master/src/main/java/com/github/App.java): `src/main/java/com/github/App.java`
- [Division source](https://github.com/githubtraining/hellogitworld/blob/master/src/Division.groovy): `src/Division.groovy`
- [Square source](https://github.com/githubtraining/hellogitworld/blob/master/src/Square.groovy): `src/Square.groovy`
- [Subtract source](https://github.com/githubtraining/hellogitworld/blob/master/src/Subtract.groovy): `src/Subtract.groovy`
- [Sum source](https://github.com/githubtraining/hellogitworld/blob/master/src/Sum.groovy): `src/Sum.groovy`

## Connections

- Git learner → Class guide: uses guide (evidence: `README.txt`)
- Class guide → Apply labels: describes (evidence: `README.txt`)
- Class guide → Branch changes: describes (evidence: `README.txt`)
- Class guide → Merge code: describes (evidence: `README.txt`)
- Class guide → Image diff: describes (evidence: `README.txt`)
