# komailo/obsidian-kanban architecture

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

- Interactive diagram: https://gitdiagram.com/komailo/obsidian-kanban
- Repository: https://github.com/komailo/obsidian-kanban

## Overview

Obsidian Kanban turns Markdown board files into an interactive task-management view and writes board changes back to Markdown. The main workflow starts with a user opening or creating a board, then uses the board view to manage lanes and cards; parsing and serialization bridge the UI and file format. The README also documents search, dates, priorities, nested swimlanes, note creation, and archiving. The sampled excerpts do not show the view’s complete load/save implementation, so parser and vault links from the view are marked unverified.

Main entry points: [`src/view.ts`](https://github.com/komailo/obsidian-kanban/blob/main/src/view.ts) (Kanban board view), [`src/main.ts`](https://github.com/komailo/obsidian-kanban/blob/main/src/main.ts) (Plugin commands), [`src/CreateBoardModal.ts`](https://github.com/komailo/obsidian-kanban/blob/main/src/CreateBoardModal.ts) (Board creation), [`src/settings.ts`](https://github.com/komailo/obsidian-kanban/blob/main/src/settings.ts) (Plugin settings)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["Plugin entry"]
  node_plugin["Plugin commands<br/>[main.ts]"]
  node_newboard["Board creation"]
  node_settings["Plugin settings<br/>[settings.ts]"]
end

subgraph group_board["Board experience"]
  node_view["Kanban board view<br/>[view.ts]"]
  node_lanes["Lanes and cards<br/>[view.ts]"]
  node_search["Search and filters<br/>[view.ts]"]
  node_dates["Card dates<br/>[view.ts]"]
  node_priorities["Priority grouping<br/>[view.ts]"]
  node_notes["Linked notes<br/>[view.ts]"]
  node_archive["Card archiving<br/>[view.ts]"]
end

subgraph group_domain["Board model"]
  node_parser["Markdown parser<br/>[parser.ts]"]
  node_model["Board operations<br/>[types.ts]"]
end

node_user(("Obsidian user"))
node_vault[("Markdown vault")]
node_host["Obsidian host"]

node_user -->|"uses"| node_host
node_host -->|"loads"| node_plugin
node_plugin -->|"registers"| node_view
node_plugin -->|"opens"| node_newboard
node_plugin -->|"registers"| node_settings
node_newboard -->|"creates file"| node_vault
node_plugin -->|"creates board"| node_vault
node_view -.->|"loads and saves"| node_parser
node_parser -->|"produces board"| node_model
node_view -->|"updates cards"| node_model
node_view -.->|"reads and writes"| node_vault
node_view -->|"renders"| node_lanes
node_view -.->|"provides"| node_search
node_view -->|"manages"| node_dates
node_view -->|"groups"| node_priorities
node_view -->|"creates"| node_notes
node_view -->|"archives"| node_archive
node_settings -->|"refreshes"| node_view

click node_plugin "https://github.com/komailo/obsidian-kanban/blob/main/src/main.ts"
click node_newboard "https://github.com/komailo/obsidian-kanban/blob/main/src/CreateBoardModal.ts"
click node_settings "https://github.com/komailo/obsidian-kanban/blob/main/src/settings.ts"
click node_view "https://github.com/komailo/obsidian-kanban/blob/main/src/view.ts"
click node_lanes "https://github.com/komailo/obsidian-kanban/blob/main/src/view.ts"
click node_search "https://github.com/komailo/obsidian-kanban/blob/main/src/view.ts"
click node_dates "https://github.com/komailo/obsidian-kanban/blob/main/src/view.ts"
click node_priorities "https://github.com/komailo/obsidian-kanban/blob/main/src/view.ts"
click node_notes "https://github.com/komailo/obsidian-kanban/blob/main/src/view.ts"
click node_archive "https://github.com/komailo/obsidian-kanban/blob/main/src/view.ts"
click node_parser "https://github.com/komailo/obsidian-kanban/blob/main/src/parser.ts"
click node_model "https://github.com/komailo/obsidian-kanban/blob/main/src/types.ts"

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_plugin,node_newboard,node_settings,node_user toneBlue
class node_view,node_lanes,node_search,node_dates,node_priorities,node_notes,node_archive,node_vault toneAmber
class node_parser,node_model toneMint
class node_host toneIndigo
```

## Components

### Plugin entry

- [Plugin commands](https://github.com/komailo/obsidian-kanban/blob/main/src/main.ts): `src/main.ts`
- [Board creation](https://github.com/komailo/obsidian-kanban/blob/main/src/CreateBoardModal.ts): `src/CreateBoardModal.ts`
- [Plugin settings](https://github.com/komailo/obsidian-kanban/blob/main/src/settings.ts): `src/settings.ts`

### Board experience

- [Kanban board view](https://github.com/komailo/obsidian-kanban/blob/main/src/view.ts): `src/view.ts`
- [Lanes and cards](https://github.com/komailo/obsidian-kanban/blob/main/src/view.ts): `src/view.ts`
- [Search and filters](https://github.com/komailo/obsidian-kanban/blob/main/src/view.ts): `src/view.ts`
- [Card dates](https://github.com/komailo/obsidian-kanban/blob/main/src/view.ts): `src/view.ts`
- [Priority grouping](https://github.com/komailo/obsidian-kanban/blob/main/src/view.ts): `src/view.ts`
- [Linked notes](https://github.com/komailo/obsidian-kanban/blob/main/src/view.ts): `src/view.ts`
- [Card archiving](https://github.com/komailo/obsidian-kanban/blob/main/src/view.ts): `src/view.ts`

### Board model

- [Markdown parser](https://github.com/komailo/obsidian-kanban/blob/main/src/parser.ts): `src/parser.ts`
- [Board operations](https://github.com/komailo/obsidian-kanban/blob/main/src/types.ts): `src/types.ts`

### Other components

- **Obsidian user**
- **Markdown vault**
- **Obsidian host**

## Connections

- Obsidian user → Obsidian host: uses (evidence: `README.md`)
- Obsidian host → Plugin commands: loads (evidence: `src/main.ts`)
- Plugin commands → Kanban board view: registers (evidence: `src/main.ts`)
- Plugin commands → Board creation: opens (evidence: `src/main.ts`)
- Plugin commands → Plugin settings: registers (evidence: `src/main.ts`)
- Board creation → Markdown vault: creates file
- Plugin commands → Markdown vault: creates board (evidence: `src/main.ts`)
- Kanban board view → Markdown parser: loads and saves (evidence: `src/view.ts`)
- Markdown parser → Board operations: produces board (evidence: `src/parser.ts`)
- Kanban board view → Board operations: updates cards (evidence: `src/view.ts`)
- Kanban board view → Markdown vault: reads and writes
- Kanban board view → Lanes and cards: renders (evidence: `src/view.ts`)
- Kanban board view → Search and filters: provides (evidence: `README.md`)
- Kanban board view → Card dates: manages (evidence: `src/view.ts`)
- Kanban board view → Priority grouping: groups (evidence: `src/view.ts`)
- Kanban board view → Linked notes: creates (evidence: `src/view.ts`)
- Kanban board view → Card archiving: archives (evidence: `src/view.ts`)
- Plugin settings → Kanban board view: refreshes (evidence: `src/settings.ts`)
