Skip to content

Commit c0b71ce

Browse files
committed
fix(docs): update architecture diagram to use Mermaid syntax for better visualization
1 parent b52621a commit c0b71ce

1 file changed

Lines changed: 5 additions & 9 deletions

File tree

‎README.md‎

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,11 @@ DataLab Web mirrors a large portion of the desktop application surface:
3535
> For the full picture — layer view, component view, worker protocols and
3636
> end-to-end flows with diagrams — see [doc/architecture.md](doc/architecture.md).
3737
38-
```text
39-
┌─────────────────────────── Browser ───────────────────────────┐
40-
│ React / TypeScript UI ──► Pyodide (CPython + WASM) │
41-
│ • Signal & image panels • numpy / scipy / scikit-image │
42-
│ • Plotly.js plots • h5py │
43-
│ • Menus / dialogs • sigima (computation engine) │
44-
│ • Macro editor • bootstrap.py (object store + │
45-
│ • Plugin manager JS-friendly helper functions) │
46-
└────────────────────────────────────────────────────────────────┘
38+
```mermaid
39+
flowchart LR
40+
UI["<b>React / TypeScript UI</b><div style='text-align:left;min-width:260px'>• Signal &amp; image panels<br/>• Plotly.js plots<br/>• Menus / dialogs<br/>• Macro editor<br/>• Plugin manager</div>"]
41+
Py["<b>Pyodide (CPython + WASM)</b><div style='text-align:left;min-width:420px;white-space:nowrap'>• numpy / scipy / scikit-image<br/>• h5py<br/>• sigima (computation engine)<br/>• bootstrap.py (object store + JS-friendly helpers)</div>"]
42+
UI -->|"runtime.ts bridge"| Py
4743
```
4844

4945
Top-level source layout:

0 commit comments

Comments
 (0)