Versions in this module Expand all Collapse all v0 v0.12.0 Jul 19, 2026 Changes in this version + func SearchTextForAnnotation(annotation *graph.Annotation) string + type AnnotationDetail struct + Context string + Summary string + Tags []DocTagDetail + type Builder struct + Exclude []string + IndexWriter IndexWriter + Namespace string + OutDir string + ProjectDesc string + Repository Repository + func (b *Builder) Build(ctx context.Context) (int, int, error) + func (b *Builder) BuildSubtree(ctx context.Context, nodeID string, depth int) (*TreeNode, error) + func (b *Builder) BuildTree(ctx context.Context) (*TreeNode, int, int, error) + type DocTagDetail struct + Kind graph.TagKind + Name string + Ordinal int + Ref *reference.Ref + Type string + Value string + func DocTagDetailFromModel(tag graph.DocTag) DocTagDetail + type GraphView struct + Edges []graph.Edge + Nodes []graph.Node + TotalNodes int64 + type GraphViewError struct + Err error + Stage GraphViewStage + func (e *GraphViewError) Error() string + func (e *GraphViewError) Unwrap() error + type GraphViewStage string + const GraphViewStageCountNodes + const GraphViewStageListEdges + const GraphViewStageListNodes + type Index struct + BuiltAt time.Time + Root *TreeNode + Version int + type IndexWriter interface + WriteWikiIndex func(ctx context.Context, namespace string, index *Index) error + type NodeDetails struct + Annotation *AnnotationDetail + EndLine int + FilePath string + Language string + QualifiedName string + StartLine int + type Repository interface + Annotations func(ctx context.Context, nodeIDs []uint) (map[uint]*graph.Annotation, error) + FileSymbols func(ctx context.Context, filePath string, kinds []graph.NodeKind) ([]graph.Node, error) + GraphView func(ctx context.Context, limit int, edgeKinds []graph.EdgeKind) (GraphView, error) + HasSymbol func(ctx context.Context, filePath string, kinds []graph.NodeKind) (bool, error) + Namespaces func(ctx context.Context) ([]string, error) + NavigationNodes func(ctx context.Context, kinds []graph.NodeKind) ([]graph.Node, error) + PathNodes func(ctx context.Context, folderPath string, kinds []graph.NodeKind) ([]graph.Node, error) + ResolveReference func(ctx context.Context, ref *reference.Ref) (*graph.Node, error) + StoredNode func(ctx context.Context, kind graph.NodeKind, filePath string) (*graph.Node, error) + SymbolNode func(ctx context.Context, qualifiedName string, kinds []graph.NodeKind) (*graph.Node, error) + type SearchResult struct + Details *NodeDetails + DocPath string + ID string + Kind string + Label string + Path []string + Summary string + func Search(root *TreeNode, query string, maxResults int) []SearchResult + type TreeNode struct + Children []*TreeNode + Details *NodeDetails + DocPath string + FieldTexts map[string]string + HasChildren bool + ID string + Kind string + Label string + SearchText string + Summary string + func FindNode(root *TreeNode, id string) *TreeNode