package main import ( // "github.com/goccy/go-graphviz" "github.com/goccy/go-graphviz/cgraph" ) func walk(r Room, parent *cgraph.Node, g *cgraph.Graph) error { _, err := g.CreateNode(r.Uid.String) if err != nil { return err } return nil }