Versions in this module Expand all Collapse all v0 v0.1.0 Apr 28, 2026 Changes in this version + func IsAcyclic(edgeType string) bool + type Graph struct + func New(store *storage.Store) *Graph + func (g *Graph) AddEdge(e *storage.Edge) error + func (g *Graph) AddNode(n *storage.Node) error + func (g *Graph) Ancestors(id string) ([]string, error) + func (g *Graph) BFS(startID string, maxDepth int) ([]string, error) + func (g *Graph) Descendants(id string) ([]string, error) + func (g *Graph) ExtractSubgraph(startID string, maxDepth int) (*Subgraph, error) + func (g *Graph) Impact(filePath string, maxDepth int) ([]string, error) + func (g *Graph) IntentBFS(startID string, maxDepth int, queryIntent intent.Intent) ([]string, error) + func (g *Graph) RemoveEdge(id string) error + func (g *Graph) RemoveNode(id string) error + type Subgraph struct + Edges []*storage.Edge + Nodes []*storage.Node