# mostafa-kheibary/tehran-metro-data architecture

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

- Interactive diagram: https://gitdiagram.com/mostafa-kheibary/tehran-metro-data
- Repository: https://github.com/mostafa-kheibary/tehran-metro-data

## Overview

This is a static Tehran Metro station graph data repository, not an application with an in-repository processing workflow. The principal user workflow is for an external consumer to read the station dataset and use its names, translations, coordinates, line memberships, amenities, and station relations. The README also names projects that use the data. The source excerpts show no runtime code or dataset-loading implementation; the visualization file is present in the tree but its behavior is not documented in the supplied excerpts.

Main entry points: [`data/stations.json`](https://github.com/mostafa-kheibary/tehran-metro-data/blob/main/data/stations.json) (Station graph)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_consumers(("Data consumers"))
node_stations["Station graph<br/>[stations.json]"]

node_consumers -->|"reads data"| node_stations

click node_stations "https://github.com/mostafa-kheibary/tehran-metro-data/blob/main/data/stations.json"

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_consumers toneIndigo
class node_stations toneTeal
```

## Components

### Other components

- **Data consumers**
- [Station graph](https://github.com/mostafa-kheibary/tehran-metro-data/blob/main/data/stations.json): `data/stations.json`

## Connections

- Data consumers → Station graph: reads data (evidence: `readme.md`)
