Expand description
Reusable Canvas-based commit graph widget — GitKraken / subway-map style.
Features:
- Click-and-drag to pan horizontally (for wide graphs)
- Left-click on a node to select the commit
- Right-click on a node for context menu
- Canvas sized to visible rows only (GPU-friendly)
Structs§
- Commit
Graph - A commit-graph widget with built-in horizontal drag-to-pan.
- Graph
Drag State - Drag state for horizontal panning, stored as the Canvas
State.
Constants§
- LANE_W
- Width of one graph lane in pixels.