refactor: remove inline branch/tag labels, keep only top-right legend
Deploy PR-Helper / deploy (push) Successful in 29s
Deploy PR-Helper / deploy (push) Successful in 29s
This commit is contained in:
@@ -126,9 +126,6 @@ const GitGraph = {
|
|||||||
// Draw commit nodes
|
// Draw commit nodes
|
||||||
this._drawNodes(g, nodeMap, lanes);
|
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
|
// Draw legend in top-right corner
|
||||||
const svgWidth = Math.max(width, graphWidth);
|
const svgWidth = Math.max(width, graphWidth);
|
||||||
this._drawLegend(svg, this._laneBranchMap, svgWidth);
|
this._drawLegend(svg, this._laneBranchMap, svgWidth);
|
||||||
|
|||||||
Reference in New Issue
Block a user