# namanatgoel/gnn-guide architecture

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

- Interactive diagram: https://gitdiagram.com/namanatgoel/gnn-guide
- Repository: https://github.com/namanatgoel/gnn-guide

## Overview

This repository is a browser-based interactive guide to graph neural networks, rather than a model-training service. The user reads the guide and explores its benchmark visualizations; the sampled app code includes Karate Club graph and matrix interactions and GAT attention data. The README also documents conceptual and architecture topics whose page implementation is not sampled, so those are represented at index.html without inferring their internal wiring. Math inspection and diagram zoom are separate browser enhancements; their connection to page markup is not shown in the excerpts.

Main entry points: [`index.html`](https://github.com/namanatgoel/gnn-guide/blob/main/index.html) (GNN guide), [`learn/web/app.js`](https://github.com/namanatgoel/gnn-guide/blob/main/learn/web/app.js) (Karate Club explorer)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_learning["Learning guide"]
  node_guide["GNN guide<br/>[index.html]"]
  node_topology["Topology &amp; equivariance<br/>[index.html]"]
  node_algebra["Adjacency &amp; Laplacians<br/>[index.html]"]
  node_mpnn["Message passing<br/>[index.html]"]
  node_gcn["GCN renormalization<br/>[index.html]"]
  node_sage["GraphSAGE aggregation<br/>[index.html]"]
  node_gat["GAT attention<br/>[index.html]"]
  node_gps["GraphGPS &amp; expressivity<br/>[index.html]"]
  node_benchmarks["Benchmark evaluations<br/>[index.html]"]
end

subgraph group_interactive["Interactive explorations"]
  node_visualization["Karate Club explorer<br/>[app.js]"]
  node_math["Matrix exploration<br/>[app.js]"]
  node_attention["GAT attention data<br/>[app.js]"]
end

subgraph group_enhancements["Page enhancements"]
  node_mathloader["Math rendering &amp; TeX"]
  node_zoom["Diagram zoom &amp; pan<br/>[flowchart-zoom.js]"]
end

node_visitor(("Learner"))

node_visitor -->|"reads"| node_guide
node_guide -->|"covers"| node_topology
node_guide -->|"covers"| node_algebra
node_guide -->|"covers"| node_mpnn
node_guide -->|"covers"| node_gcn
node_guide -->|"covers"| node_sage
node_guide -->|"covers"| node_gat
node_guide -->|"covers"| node_gps
node_guide -->|"covers"| node_benchmarks
node_visitor -->|"explores"| node_visualization
node_visualization -->|"renders matrices"| node_math
node_visualization -->|"renders attention"| node_attention

click node_guide "https://github.com/namanatgoel/gnn-guide/blob/main/index.html"
click node_topology "https://github.com/namanatgoel/gnn-guide/blob/main/index.html"
click node_algebra "https://github.com/namanatgoel/gnn-guide/blob/main/index.html"
click node_mpnn "https://github.com/namanatgoel/gnn-guide/blob/main/index.html"
click node_gcn "https://github.com/namanatgoel/gnn-guide/blob/main/index.html"
click node_sage "https://github.com/namanatgoel/gnn-guide/blob/main/index.html"
click node_gat "https://github.com/namanatgoel/gnn-guide/blob/main/index.html"
click node_gps "https://github.com/namanatgoel/gnn-guide/blob/main/index.html"
click node_benchmarks "https://github.com/namanatgoel/gnn-guide/blob/main/index.html"
click node_visualization "https://github.com/namanatgoel/gnn-guide/blob/main/learn/web/app.js"
click node_math "https://github.com/namanatgoel/gnn-guide/blob/main/learn/web/app.js"
click node_attention "https://github.com/namanatgoel/gnn-guide/blob/main/learn/web/app.js"
click node_mathloader "https://github.com/namanatgoel/gnn-guide/blob/main/learn/web/math-code-loader.js"
click node_zoom "https://github.com/namanatgoel/gnn-guide/blob/main/learn/web/flowchart-zoom.js"

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_guide,node_topology,node_algebra,node_mpnn,node_gcn,node_sage,node_gat,node_gps,node_benchmarks toneBlue
class node_visualization,node_math,node_attention toneAmber
class node_mathloader,node_zoom toneMint
class node_visitor toneIndigo
```

## Components

### Learning guide

- [GNN guide](https://github.com/namanatgoel/gnn-guide/blob/main/index.html): `index.html`
- [Topology & equivariance](https://github.com/namanatgoel/gnn-guide/blob/main/index.html): `index.html`
- [Adjacency & Laplacians](https://github.com/namanatgoel/gnn-guide/blob/main/index.html): `index.html`
- [Message passing](https://github.com/namanatgoel/gnn-guide/blob/main/index.html): `index.html`
- [GCN renormalization](https://github.com/namanatgoel/gnn-guide/blob/main/index.html): `index.html`
- [GraphSAGE aggregation](https://github.com/namanatgoel/gnn-guide/blob/main/index.html): `index.html`
- [GAT attention](https://github.com/namanatgoel/gnn-guide/blob/main/index.html): `index.html`
- [GraphGPS & expressivity](https://github.com/namanatgoel/gnn-guide/blob/main/index.html): `index.html`
- [Benchmark evaluations](https://github.com/namanatgoel/gnn-guide/blob/main/index.html): `index.html`

### Interactive explorations

- [Karate Club explorer](https://github.com/namanatgoel/gnn-guide/blob/main/learn/web/app.js): `learn/web/app.js`
- [Matrix exploration](https://github.com/namanatgoel/gnn-guide/blob/main/learn/web/app.js): `learn/web/app.js`
- [GAT attention data](https://github.com/namanatgoel/gnn-guide/blob/main/learn/web/app.js): `learn/web/app.js`

### Page enhancements

- [Math rendering & TeX](https://github.com/namanatgoel/gnn-guide/blob/main/learn/web/math-code-loader.js): `learn/web/math-code-loader.js`
- [Diagram zoom & pan](https://github.com/namanatgoel/gnn-guide/blob/main/learn/web/flowchart-zoom.js): `learn/web/flowchart-zoom.js`

### Other components

- **Learner**

## Connections

- Learner → GNN guide: reads (evidence: `README.md`)
- GNN guide → Topology & equivariance: covers (evidence: `README.md`)
- GNN guide → Adjacency & Laplacians: covers (evidence: `README.md`)
- GNN guide → Message passing: covers (evidence: `README.md`)
- GNN guide → GCN renormalization: covers (evidence: `README.md`)
- GNN guide → GraphSAGE aggregation: covers (evidence: `README.md`)
- GNN guide → GAT attention: covers (evidence: `README.md`)
- GNN guide → GraphGPS & expressivity: covers (evidence: `README.md`)
- GNN guide → Benchmark evaluations: covers (evidence: `README.md`)
- Learner → Karate Club explorer: explores (evidence: `learn/web/app.js`)
- Karate Club explorer → Matrix exploration: renders matrices (evidence: `learn/web/app.js`)
- Karate Club explorer → GAT attention data: renders attention (evidence: `learn/web/app.js`)
