diffler_graph/lib.rs
1//! A navigable orthogonal node-graph component for ratatui terminal UIs.
2//!
3//! The host builds a [`Model`] (from CI, DOT, mermaid, LSP, …), pushes it into a
4//! [`GraphView`], renders the view into any area, and reacts to the
5//! [`GraphAction`]s it emits. The component is IO-free: no terminal setup, no
6//! event loop, no network — sources and side effects belong to the host.
7
8mod engine;
9mod model;
10mod theme;
11mod view;
12
13pub use engine::{GraphEngine, Layered, Zoom};
14pub use model::{Edge, Model, Node, NodeId, NodeStatus, RankDir};
15pub use theme::GraphTheme;
16pub use view::{GraphAction, GraphView};