| name | commit-graph-figures |
|---|---|
| description | Draw commit-graph comparison figures (hand-written SVG in HTML) for articles, PR descriptions, and docs. Use when the user wants a git graph diagram showing which two commits/refs get compared (baselines, merge refs, fork points), wants multi-panel figures of the same graph with different comparisons highlighted, or asks to visualize CI/merge-ref behavior. |
One topology, many panels. The graph (commits, branches, synthetic merge commits) is defined once as data; each panel re-renders that identical topology and varies only its spotlight — which pair is compared, what is dimmed — and its verdict. Readers keep a single mental model across panels; hand-drawing any panel separately breaks that and is the primary failure to avoid.