Versions in this module Expand all Collapse all v0 v0.2.0 Apr 13, 2026 v0.1.0 Apr 11, 2026 Changes in this version + type Direction int + const Both + const Incoming + const Outgoing + type TraversalResult struct + Depth map[string]int + Edges []*graph.Edge + Parents map[string]*graph.Edge + StartNode string + Visited []string + type Traverser struct + func NewTraverser(g *graph.Graph) *Traverser + func NewTraverserFromEdges(edges []*graph.Edge, nodes map[string]*graph.Node) *Traverser + func (t *Traverser) BFS(start string, dir Direction, maxDepth int, edgeTypes []string) *TraversalResult + func (t *Traverser) DFS(start string, dir Direction, maxDepth int, edgeTypes []string) *TraversalResult + func (t *Traverser) FindPath(from, to string, edgeTypes []string) *TraversalResult