Versions in this module Expand all Collapse all v0 v0.9.2 May 11, 2021 Changes in this version + type BreadthFirst struct + Traverse func(graph.Edge) bool + Visit func(graph.Node) + func (b *BreadthFirst) Reset() + func (b *BreadthFirst) Visited(n graph.Node) bool + func (b *BreadthFirst) Walk(g Graph, from graph.Node, until func(n graph.Node, d int) bool) graph.Node + func (b *BreadthFirst) WalkAll(g graph.Undirected, before, after func(), during func(graph.Node)) + type DepthFirst struct + Traverse func(graph.Edge) bool + Visit func(graph.Node) + func (d *DepthFirst) Reset() + func (d *DepthFirst) Visited(n graph.Node) bool + func (d *DepthFirst) Walk(g Graph, from graph.Node, until func(graph.Node) bool) graph.Node + func (d *DepthFirst) WalkAll(g graph.Undirected, before, after func(), during func(graph.Node)) + type Graph interface + Edge func(uid, vid int64) graph.Edge + From func(id int64) graph.Nodes