Some whitespace changes

This commit is contained in:
2024-09-20 11:17:40 -04:00
parent e699bde720
commit a69792e3fc

View File

@@ -15,10 +15,8 @@ func GraphFromDBRows(vs []Vertex, es []Edge) GraphPart {
// necessary to find that node up front, but it does help make this example simpler.
rootQuestion := getRootVertex(vs, es)
/**
Since building the graph is a recursive operation, we can keep the stack a bit lighter (and our function signatures
simpler) by storing the questions and edges in package variables.
*/
// Since building the graph is a recursive operation, we can keep the stack a bit lighter (and our function signatures
// simpler) by storing the questions and edges in package variables.
edges = es
// Storing questions as a map for easy lookup by ID later