Skip to main content

batuta/tui/
mod.rs

1//! TUI (Terminal User Interface) Module
2//!
3//! Provides terminal-based visualization components for the batuta stack.
4//!
5//! ## Modules
6//!
7//! - `graph`: Core graph data structures
8//! - `graph_analytics`: PageRank, community detection, centrality metrics
9//! - `graph_layout`: Layout algorithms for graph visualization
10//!
11//! ## Design Principles
12//!
13//! Follows Toyota Way principles:
14//! - **Mieruka**: Visual management for instant status recognition
15//! - **Jidoka**: Built-in quality via comprehensive tests
16//! - **Respect for People**: Accessibility via shapes (not just colors)
17
18pub mod graph;
19pub mod graph_analytics;
20pub mod graph_layout;
21
22pub use graph::{
23    Edge, Graph, GraphRenderer, Node, NodeShape, NodeStatus, Position, RenderMode, RenderedGraph,
24    DEFAULT_VISIBLE_NODES, MAX_TUI_NODES,
25};
26pub use graph_analytics::{GraphAnalytics, GraphAnalyticsExt, COMMUNITY_COLORS};
27pub use graph_layout::{LayoutAlgorithm, LayoutConfig, LayoutEngine};