1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
//! Terminal UI rendering using ratatui.
//!
//! This module contains all the view-specific rendering logic for the TUI.
//! Each view is implemented in its own submodule with a `render` function.
//!
//! ## Submodules
//!
//! - [`summary`]: Main overview table showing all modules with health status
//! - [`bottleneck`]: Filtered view of topics that have pending reads/writes
//! - [`flow`]: Adjacency matrix visualization of producer/consumer relationships
//! - [`detail`]: Modal overlay showing detailed module information
//! - [`common`]: Shared components (header, tabs, status bar, help overlay)
//! - [`theme`]: Light/dark theme support with terminal auto-detection
//!
//! ## Rendering Architecture
//!
//! The main loop in `main.rs` calls into these modules based on the current view:
//!
//! ```text
//! ┌──────────────────────────────────────┐
//! │ Header (common::render_header) │
//! ├──────────────────────────────────────┤
//! │ Tabs (common::render_tabs) │
//! ├──────────────────────────────────────┤
//! │ │
//! │ View Content │
//! │ (summary/bottleneck/flow::render) │
//! │ │
//! ├──────────────────────────────────────┤
//! │ Status Bar (common::render_status) │
//! └──────────────────────────────────────┘
//! ↑
//! Overlays rendered on top:
//! - detail::render_overlay
//! - common::render_help
//! ```
pub use BottleneckSortColumn;
pub use Theme;