2017-08-15
This commit is contained in:
BIN
go/pov/cmd/cmd
Executable file
BIN
go/pov/cmd/cmd
Executable file
Binary file not shown.
13
go/pov/cmd/main.go
Normal file
13
go/pov/cmd/main.go
Normal file
@@ -0,0 +1,13 @@
|
||||
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)
|
||||
}
|
Reference in New Issue
Block a user