```mermaid
architecture-beta
group client(cloud)[Client]
group platform(cloud)[Knowledge Platform]
service user(internet)[Reader] in client
service viewer(server)[Viewer] in client
service api(server)[Knowledge API] in platform
service store(disk)[Artifact Store] in platform
service index(database)[Search Index] in platform
user:R --> L:viewer
viewer:R --> L:api
api:B --> T:store
api:R --> L:index
```
Mermaid · D008
Entity relationships
```mermaid
erDiagram
COLLECTION ||--o{ DOCUMENT : contains
DOCUMENT ||--o{ RELEASE : publishes
RELEASE ||--o{ ASSET : references
RELEASE ||--|| MANIFEST : has
RELEASE ||--o{ SEARCH_RECORD : produces
COLLECTION {
string id PK
string name
string default_locale
}
DOCUMENT {
string id PK
string path
string title
}
RELEASE {
string id PK
string document_id FK
string git_sha
datetime published_at
}
ASSET {
string id PK
string media_type
string sha256
}
MANIFEST {
string release_id PK
string content_sha256
string renderer_version
}
SEARCH_RECORD {
string release_id FK
string locale
string text
}
```
```mermaid
sequenceDiagram
autonumber
actor Reader
participant Viewer
participant API
participant Search
participant Store
Reader->>Viewer: Search "identity federation"
Viewer->>API: GET /search?q=identity+federation
API->>Search: Query index
Search-->>API: Ranked results
API-->>Viewer: Result metadata
Reader->>Viewer: Open result
Viewer->>API: GET document release
API->>Store: Read immutable artifact
Store-->>API: Markdown + manifest
API-->>Viewer: UTF-8 document
Viewer-->>Reader: Render text and diagrams
```
```mermaid
swimlane-beta LR
subgraph Author[Author]
A[Edit Markdown]
D[Address review]
end
subgraph Platform[Platform]
B[Validate]
C[Publish]
end
subgraph Reader[Reader]
E[Open release]
end
A --> B
B --> D
D --> B
B --> C
C --> E
```
```mermaid
venn-beta
title "Viewer compatibility"
set Markdown["Markdown"]:80
set Mermaid["Mermaid"]:70
set Unicode["Unicode"]:90
union Markdown,Mermaid["Fenced diagrams"]:25
union Mermaid,Unicode["Unicode labels"]:20
union Markdown,Unicode["Multilingual prose"]:35
union Markdown,Mermaid,Unicode["Production document"]:15
```
```plantuml
@startuml
title Publication sequence — Русский / 中文 / العربية 🚀
autonumber
actor Reader
participant Viewer
participant "Knowledge API" as API
database Cache
Reader -> Viewer : Open document
activate Viewer
Viewer -> API : GET /document
activate API
alt cached
API -> Cache : lookup(id)
Cache --> API : Markdown
else not cached
API -> API : load immutable release
end
API --> Viewer : UTF-8 Markdown
Viewer --> Reader : Rendered document ✅
deactivate API
deactivate Viewer
note over Viewer,API
Unicode: ÅÄÖ · Русский · 中文 · العربية · 日本語
end note
@enduml
```
PlantUML · D039
Use cases
```plantuml
@startuml
left to right direction
actor Reader
actor Author
rectangle "mdvu" {
usecase "Open Markdown" as UC1
usecase "Navigate headings" as UC2
usecase "Render diagrams" as UC3
usecase "Search document" as UC4
}
Reader --> UC1
Reader --> UC2
Reader --> UC4
Author --> UC1
UC1 .> UC3 : <<include>>
@enduml
```
```plantuml
@startuml
robust "Viewer" as V
concise "Reader" as R
@0
R is Idle
V is Loading
@100
R is Waiting
V is Parsing
@220
V is Rendering
@420
V is Ready
R is Reading
@700
R is Idle
@enduml
```
```plantuml
@startgantt
Project starts the 2026-09-01
[Fixture draft] lasts 2 days
[Review] starts at [Fixture draft]'s end and lasts 2 days
[Renderer validation] starts at [Review]'s end and lasts 2 days
[Release] happens at [Renderer validation]'s end
@endgantt
```
PlantUML · D059
Mind map
```plantuml
@startmindmap
* mdvu
** Markdown
*** Navigation
*** Tables
*** Unicode
** Mermaid
*** 11.17.2
** PlantUML
*** 1.2026.7
** Languages
*** Русский
*** 中文
*** العربية
@endmindmap
```