fix(lint): mark unused subgraph parameter in renderGraph

The subgraph parameter was passed to renderGraph but not used in the
function body, causing an unparam lint error. Replace with _ to
indicate intentional non-use.
This commit is contained in:
Charles P. Cross
2025-12-18 17:47:03 -05:00
parent ba8beb53b3
commit 2b0a8cecdb

View File

@@ -277,7 +277,7 @@ func computeLayout(subgraph *TemplateSubgraph) *GraphLayout {
}
// renderGraph renders the ASCII visualization
func renderGraph(layout *GraphLayout, subgraph *TemplateSubgraph) {
func renderGraph(layout *GraphLayout, _ *TemplateSubgraph) {
if len(layout.Nodes) == 0 {
fmt.Println("Empty graph")
return