all: fix capitalisation of Gonum

This fixes the capitalisation of Gonum where it refers to the project rather
than the GitHub organisation or repository. The text of CONTRIBUTORS also
is fixed to reflect the reality that contributors may have contributed to
other repositories within the project.
This commit is contained in:
Dan Kortschak
2019-11-15 07:42:46 +10:30
parent 4e1ef9c972
commit b34a300801
32 changed files with 37 additions and 37 deletions

View File

@@ -135,12 +135,12 @@ func copyMultigraph(dst encoding.MultiBuilder, src *ast.Graph) (err error) {
return err
}
// A generator keeps track of the information required for generating a gonum
// A generator keeps track of the information required for generating a Gonum
// graph from a dot AST graph.
type generator struct {
// Directed graph.
directed bool
// Map from dot AST node ID to gonum node.
// Map from dot AST node ID to Gonum node.
ids map[string]graph.Node
// Nodes processed within the context of a subgraph, that is to be used as a
// vertex of an edge.
@@ -152,7 +152,7 @@ type generator struct {
graphAttr, nodeAttr, edgeAttr encoding.AttributeSetter
}
// node returns the gonum node corresponding to the given dot AST node ID,
// node returns the Gonum node corresponding to the given dot AST node ID,
// generating a new such node if none exist.
func (gen *generator) node(dst graph.NodeAdder, id string) graph.Node {
if n, ok := gen.ids[id]; ok {