Expand description
Git-specific widgets layered on top of saudade’s generic set.
Modules§
- layout
- Pure geometry for journey’s two screens.
Structs§
- Commit
List - Commit
Row - One commit’s worth of row content.
- Diff
View - A read-only diff pane.
- Graph
- The full graph plus the number of lanes ever active (for gutter sizing).
- Graph
Row - Per-row graph geometry. Columns are lane indices; the renderer maps them to
x positions. Segments are
(column_at_edge, column_at_center)for the top half and(column_at_center, column_at_edge)for the bottom half. - Heading
- Search
Bar - Shared
- Shared, interior-mutable handle to a widget that lives in the tree.
- Shell
Functions§
- compute_
graph - Compute the lane layout for
commits, each(sha, parent_shas), in reverse-topological (newest-first) order.