Versions in this module Expand all Collapse all v1 v1.0.0 Mar 28, 2022 Changes in this version + var Debug = false + type BFSTree struct + func New(edges ...Edge) *BFSTree + func (b *BFSTree) AddEdge(e Edge) + func (b *BFSTree) Edges() []Edge + func (b *BFSTree) FindPath(start string, end string) (path *Path, err error) + func (b *BFSTree) Len() int + func (b *BFSTree) Nodes() []string + type Edge interface + From func() string + To func() string + type Path struct + func (p *Path) HasNode(s string) bool + func (p *Path) IsCircular(edge Edge) bool + func (p *Path) Last() Edge + func (p *Path) Nodes() []string + func (p *Path) String() string