pub fn render(diag: &GitGraph, max_width: Option<usize>) -> StringExpand description
Render a GitGraph to a Unicode string.
§Arguments
diag— the parsed git graphmax_width— optional column budget; whenSome(N)commit ids are truncated with…so the label column stays within the budget.
§Returns
A multi-line string ready for printing. Branch names appear at the bottom, one per lane column.