exercism/go/pov/cmd/main.go

14 lines
197 B
Go
Raw Normal View History

2017-08-15 22:06:46 +00:00
package main
import pov ".."
func main() {
g := pov.New()
g.AddNode("sibling")
g.AddNode("x")
g.AddNode("parent")
g.AddArc("parent", "sibling")
g.AddArc("parent", "x")
pov.PrintGraph(g)
}