From 82666cff2642c313ea68f0dc5c764c8d7883b44a Mon Sep 17 00:00:00 2001 From: wonder Date: Sun, 21 Jun 2026 14:45:50 +0800 Subject: [PATCH] refactor: remove inline branch/tag labels, keep only top-right legend --- static/js/graph.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/static/js/graph.js b/static/js/graph.js index e784194..42c2543 100644 --- a/static/js/graph.js +++ b/static/js/graph.js @@ -126,9 +126,6 @@ const GitGraph = { // Draw commit nodes this._drawNodes(g, nodeMap, lanes); - // Draw branch labels on the right side - this._drawBranchLabels(g, nodeMap, this._laneBranchMap, laneWidth, maxLane); - // Draw legend in top-right corner const svgWidth = Math.max(width, graphWidth); this._drawLegend(svg, this._laneBranchMap, svgWidth);