14 lines
197 B
Go
14 lines
197 B
Go
|
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)
|
||
|
}
|