Expand description
Pretty commit graph layout (VS Code / lazygit style).
Builds colored lanes from git log parent topology so the TUI can
draw ● / │ / merge connectors instead of raw git log --graph ASCII.
Structs§
- Graph
Row - One rendered commit row in the graph.
Enums§
- Graph
Glyph - One cell in the graph column strip.
Constants§
- LANE_
COLORS - Palette size for lane colors (UI maps id → RGB).
Functions§
- build_
graph - High-level: parse + layout from raw git log pretty output.
- detail_
line - Build a short detail string for the selection popup / detail line.
- lane_
rgb - Map lane color id → (r,g,b) — VS Code–ish branch colors.