Git Graph 是 Git 操作下拉菜单里的只读提交图入口,用于查看当前仓库最近提交、分支泳道、merge 边和 refs。
IGitService.getCommitGraph({ workspacePath, maxCount, skip }) 分页消费结构化数据,不直接调用 Git CLI。git log --all --topo-order --date-order 读取 commit、parents、refs、author 和时间。layoutGitGraph(commits) 是纯函数,输入 topo/date 排序后的提交,输出行坐标、lane、edge path 和截断状态。DESIGN.md 的语义 token,避免新增图形库,兼容桌面端和 Web 端主题。skip 读取下一页;repo 层单页最多允许 200 条。