# yamataku0102/tabmaker architecture

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

- Interactive diagram: https://gitdiagram.com/yamataku0102/tabmaker
- Repository: https://github.com/yamataku0102/tabmaker

## Overview

This is a browser-based guitar tablature editor built as a small React application. Users enter fret and rest values, adjust note durations and chords, and move through an editable score; the app renders standard notation and tablature with VexFlow. The implementation is concentrated in `src/App.jsx`, so the editor responsibilities below are conceptual layers within that file, not separate modules. The README describes a starter template rather than additional product features.

Main entry points: [`src/App.jsx`](https://github.com/yamataku0102/tabmaker/blob/main/src/App.jsx) (Editor controls), [`src/main.jsx`](https://github.com/yamataku0102/tabmaker/blob/main/src/main.jsx) (React bootstrap), [`src/ErrorBoundary.jsx`](https://github.com/yamataku0102/tabmaker/blob/main/src/ErrorBoundary.jsx) (Error boundary)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_shell["Application shell"]
  node_bootstrap["React bootstrap<br/>[main.jsx]"]
  node_error_boundary["Error boundary<br/>[ErrorBoundary.jsx]"]
end

subgraph group_editor["Tab editor"]
  node_editor_ui["Editor controls<br/>[App.jsx]"]
  node_score_editing["Score editing<br/>[App.jsx]"]
  node_score_rendering["Score rendering<br/>[App.jsx]"]
end

node_musician(("Musician"))
node_vexflow["VexFlow"]

node_bootstrap -->|"wraps"| node_error_boundary
node_bootstrap -->|"renders"| node_editor_ui
node_musician -->|"uses"| node_editor_ui
node_editor_ui -->|"invokes edits"| node_score_editing
node_score_editing -.->|"updates score"| node_score_rendering
node_score_rendering -->|"draws notation"| node_vexflow

click node_bootstrap "https://github.com/yamataku0102/tabmaker/blob/main/src/main.jsx"
click node_error_boundary "https://github.com/yamataku0102/tabmaker/blob/main/src/ErrorBoundary.jsx"
click node_editor_ui "https://github.com/yamataku0102/tabmaker/blob/main/src/App.jsx"
click node_score_editing "https://github.com/yamataku0102/tabmaker/blob/main/src/App.jsx"
click node_score_rendering "https://github.com/yamataku0102/tabmaker/blob/main/src/App.jsx"

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_bootstrap,node_error_boundary toneBlue
class node_editor_ui,node_score_editing,node_score_rendering toneAmber
class node_musician,node_vexflow toneIndigo
```

## Components

### Application shell

- [React bootstrap](https://github.com/yamataku0102/tabmaker/blob/main/src/main.jsx): `src/main.jsx`
- [Error boundary](https://github.com/yamataku0102/tabmaker/blob/main/src/ErrorBoundary.jsx): `src/ErrorBoundary.jsx`

### Tab editor

- [Editor controls](https://github.com/yamataku0102/tabmaker/blob/main/src/App.jsx): `src/App.jsx`
- [Score editing](https://github.com/yamataku0102/tabmaker/blob/main/src/App.jsx): `src/App.jsx`
- [Score rendering](https://github.com/yamataku0102/tabmaker/blob/main/src/App.jsx): `src/App.jsx`

### Other components

- **Musician**
- **VexFlow**

## Connections

- React bootstrap → Error boundary: wraps (evidence: `src/main.jsx`)
- React bootstrap → Editor controls: renders (evidence: `src/main.jsx`)
- Musician → Editor controls: uses (evidence: `src/App.jsx`)
- Editor controls → Score editing: invokes edits (evidence: `src/App.jsx`)
- Score editing → Score rendering: updates score (evidence: `src/App.jsx`)
- Score rendering → VexFlow: draws notation (evidence: `src/App.jsx`)
