# jixiangying/anatomy architecture

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

- Interactive diagram: https://gitdiagram.com/jixiangying/anatomy
- Repository: https://github.com/jixiangying/anatomy

## Overview

This is a static browser-based 3D anatomy explorer. The user searches or browses anatomical systems, selects a part from the list or model, and sees it highlighted with the camera focused; system layers can be toggled independently. The README documents these capabilities and the model/data sources, but the application source in index.html was not excerpted, so internal call relationships to the loaders and assets cannot be confirmed. Those links are therefore shown as unverified rather than asserted.

Main entry points: [`index.html`](https://github.com/jixiangying/anatomy/blob/main/index.html) (Browser application), [`data/anatomy_data_simple_refined.json`](https://github.com/jixiangying/anatomy/blob/main/data/anatomy_data_simple_refined.json) (Bilingual part catalog), [`data/isa_parts_list.txt`](https://github.com/jixiangying/anatomy/blob/main/data/isa_parts_list.txt) (ISA part lists), [`data/isa_parts_list_e.txt`](https://github.com/jixiangying/anatomy/blob/main/data/isa_parts_list_e.txt) (English part list)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_experience["Explorer experience"]
  node_app["Browser application<br/>[index.html]"]
  node_search["Global search<br/>[index.html]"]
  node_system_browse["System browsing<br/>[index.html]"]
  node_selection["Part selection<br/>[index.html]"]
  node_highlight["Highlight and focus<br/>[index.html]"]
  node_layers["Layer controls<br/>[index.html]"]
end

subgraph group_anatomy["Anatomy content"]
  node_anatomy_data[("Bilingual part catalog")]
  node_isa_parts["ISA part lists<br/>[isa_parts_list.txt]"]
  node_isa_parts_en["English part list"]
  node_isa_elements["Element mappings"]
  node_obj_models["Anatomical OBJ models"]
end

subgraph group_runtime["3D runtime"]
  node_obj_loader["OBJ model parser<br/>[OBJLoader.js]"]
  node_orbit_controls["Camera controls<br/>[OrbitControls.js]"]
end

node_user(("Explorer user"))

node_user -->|"uses"| node_app
node_user -->|"searches"| node_search
node_user -->|"browses"| node_system_browse
node_user -->|"selects parts"| node_selection
node_user -->|"toggles layers"| node_layers
node_search -->|"opens and highlights"| node_highlight
node_system_browse -.->|"browses catalog"| node_anatomy_data
node_selection -->|"highlights and focuses"| node_highlight
node_selection -->|"syncs list and model"| node_app
node_layers -->|"controls visibility"| node_app
node_app -.->|"loads catalog"| node_anatomy_data
node_app -.->|"may use part list"| node_isa_parts
node_app -.->|"may use English list"| node_isa_parts_en
node_app -.->|"may use mappings"| node_isa_elements
node_app -.->|"displays models"| node_obj_models
node_app -.->|"may parse models"| node_obj_loader
node_app -.->|"may control camera"| node_orbit_controls

click node_app "https://github.com/jixiangying/anatomy/blob/main/index.html"
click node_search "https://github.com/jixiangying/anatomy/blob/main/index.html"
click node_system_browse "https://github.com/jixiangying/anatomy/blob/main/index.html"
click node_selection "https://github.com/jixiangying/anatomy/blob/main/index.html"
click node_highlight "https://github.com/jixiangying/anatomy/blob/main/index.html"
click node_layers "https://github.com/jixiangying/anatomy/blob/main/index.html"
click node_anatomy_data "https://github.com/jixiangying/anatomy/blob/main/data/anatomy_data_simple_refined.json"
click node_isa_parts "https://github.com/jixiangying/anatomy/blob/main/data/isa_parts_list.txt"
click node_isa_parts_en "https://github.com/jixiangying/anatomy/blob/main/data/isa_parts_list_e.txt"
click node_isa_elements "https://github.com/jixiangying/anatomy/blob/main/data/isa_element_parts.txt"
click node_obj_models "https://github.com/jixiangying/anatomy/tree/main/isa_BP3D_4.0_obj_99"
click node_obj_loader "https://github.com/jixiangying/anatomy/blob/main/js/OBJLoader.js"
click node_orbit_controls "https://github.com/jixiangying/anatomy/blob/main/js/OrbitControls.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_app,node_search,node_system_browse,node_selection,node_highlight,node_layers,node_user toneBlue
class node_anatomy_data,node_isa_parts,node_isa_parts_en,node_isa_elements,node_obj_models toneAmber
class node_obj_loader,node_orbit_controls toneMint
```

## Components

### Explorer experience

- [Browser application](https://github.com/jixiangying/anatomy/blob/main/index.html): `index.html`
- [Global search](https://github.com/jixiangying/anatomy/blob/main/index.html): `index.html`
- [System browsing](https://github.com/jixiangying/anatomy/blob/main/index.html): `index.html`
- [Part selection](https://github.com/jixiangying/anatomy/blob/main/index.html): `index.html`
- [Highlight and focus](https://github.com/jixiangying/anatomy/blob/main/index.html): `index.html`
- [Layer controls](https://github.com/jixiangying/anatomy/blob/main/index.html): `index.html`

### Anatomy content

- [Bilingual part catalog](https://github.com/jixiangying/anatomy/blob/main/data/anatomy_data_simple_refined.json): `data/anatomy_data_simple_refined.json`
- [ISA part lists](https://github.com/jixiangying/anatomy/blob/main/data/isa_parts_list.txt): `data/isa_parts_list.txt`
- [English part list](https://github.com/jixiangying/anatomy/blob/main/data/isa_parts_list_e.txt): `data/isa_parts_list_e.txt`
- [Element mappings](https://github.com/jixiangying/anatomy/blob/main/data/isa_element_parts.txt): `data/isa_element_parts.txt`
- [Anatomical OBJ models](https://github.com/jixiangying/anatomy/tree/main/isa_BP3D_4.0_obj_99): `isa_BP3D_4.0_obj_99`

### 3D runtime

- [OBJ model parser](https://github.com/jixiangying/anatomy/blob/main/js/OBJLoader.js): `js/OBJLoader.js`
- [Camera controls](https://github.com/jixiangying/anatomy/blob/main/js/OrbitControls.js): `js/OrbitControls.js`

### Other components

- **Explorer user**

## Connections

- Explorer user → Browser application: uses (evidence: `README.md`)
- Explorer user → Global search: searches (evidence: `README.md`)
- Explorer user → System browsing: browses (evidence: `README.md`)
- Explorer user → Part selection: selects parts (evidence: `README.md`)
- Explorer user → Layer controls: toggles layers (evidence: `README.md`)
- Global search → Highlight and focus: opens and highlights (evidence: `README.md`)
- System browsing → Bilingual part catalog: browses catalog
- Part selection → Highlight and focus: highlights and focuses (evidence: `README.md`)
- Part selection → Browser application: syncs list and model (evidence: `README.md`)
- Layer controls → Browser application: controls visibility (evidence: `README.md`)
- Browser application → Bilingual part catalog: loads catalog
- Browser application → ISA part lists: may use part list
- Browser application → English part list: may use English list
- Browser application → Element mappings: may use mappings
- Browser application → Anatomical OBJ models: displays models
- Browser application → OBJ model parser: may parse models
- Browser application → Camera controls: may control camera
