Versions in this module Expand all Collapse all v0 v0.3.0 May 9, 2026 v0.2.0 Apr 20, 2026 Changes in this version + const AlgorithmConnectedComponents + const AlgorithmLouvain + var AuthorityScore = analyze.AuthorityScore + var CohesionScore = analyze.CohesionScore + var DefaultClusterOptions = analyze.DefaultClusterOptions + var DefaultLouvainOptions = analyze.DefaultLouvainOptions + var DetectCommunitiesLouvain = analyze.DetectCommunitiesLouvain + var DiffGraphs = analyze.DiffGraphs + var EdgesByConfidence = analyze.EdgesByConfidence + var EdgesByType = analyze.EdgesByType + var HubScore = analyze.HubScore + var InferredEdges = analyze.InferredEdges + var LouvainToClusters = analyze.LouvainToClusters + var NodesByType = analyze.NodesByType + func AmbiguousEdges(edges []*graph.Edge) []*graph.Edge + func BridgeEdges(edges []*graph.Edge, communities map[int][]string) []*graph.Edge + func CommunityLabels(communities []Community, nodes []*graph.Node) map[int]string + func CountEdgesByConfidence(edges []*graph.Edge) map[string]int + func CountEdgesByType(edges []*graph.Edge) map[string]int + func CrossFileEdges(nodes []*graph.Node, edges []*graph.Edge) []*graph.Edge + func FormatHealth(h *CorpusHealth) string + func GroupEdgesByConfidence(edges []*graph.Edge) map[string][]*graph.Edge + func GroupEdgesByType(edges []*graph.Edge) map[string][]*graph.Edge + func IsolatedNodes(nodes []*graph.Node, edges []*graph.Edge, threshold int) []*graph.Node + func LowConfidenceEdges(edges []*graph.Edge, threshold float64) []*graph.Edge + type BetweennessOptions struct + Communities map[int][]string + ExcludeEdgeTypes []string + ExcludeNodeTypes []string + TopN int + func DefaultBetweennessOptions() BetweennessOptions + type BetweennessResult struct + Bridges []BridgeNode + MaxScore float64 + Scores map[string]float64 + func CalculateBetweenness(nodes []*graph.Node, edges []*graph.Edge, opts BetweennessOptions) *BetweennessResult + type BridgeNode struct + Centrality float64 + ConnectsCommunities []int + ID string + Label string + Type string + func FindBridges(nodes []*graph.Node, edges []*graph.Edge, topN int) []BridgeNode + func FindBridgesWithCommunities(nodes []*graph.Node, edges []*graph.Edge, communities map[int][]string, ...) []BridgeNode + type ClusterAlgorithm = analyze.ClusterAlgorithm + type ClusterOptions = analyze.ClusterOptions + type ClusterResult = analyze.ClusterResult + func DetectCommunities(nodes []*graph.Node, edges []*graph.Edge) *ClusterResult + func DetectCommunitiesWithOptions(nodes []*graph.Node, edges []*graph.Edge, opts ClusterOptions) *ClusterResult + type Community = analyze.Community + type CommunityInfo struct + Cohesion float64 + ID int + Label string + Members []string + Size int + type CorpusHealth struct + EstimatedTokens int + FileCount int + GraphEdges int + GraphNodes int + GraphTokens int + TokenReduction float64 + Verdict string + VerdictReason string + WordCount int + func CheckCorpusHealth(nodes []*graph.Node, edges []*graph.Edge, opts HealthOptions) *CorpusHealth + func CheckCorpusHealthFromSource(nodes []*graph.Node, edges []*graph.Edge, sourceDir string) (*CorpusHealth, error) + type EdgeChange = analyze.EdgeChange + type GodNode = HubNode + func GodNodes(nodes []*graph.Node, edges []*graph.Edge, topN int) []GodNode + type GraphDiff = analyze.GraphDiff + type HealthOptions struct + FileCount int + IncludeFileContent bool + SourceTokens int + type HubNode = analyze.HubNode + type LouvainOptions = analyze.LouvainOptions + type LouvainResult = analyze.LouvainResult + type NodeChange = analyze.NodeChange + type PackageStats struct + Files int + Functions int + Imports int + Name string + Types int + func AnalyzePackages(nodes []*graph.Node, edges []*graph.Edge) []PackageStats + type Question struct + Question string + Type string + Why string + func SuggestQuestions(nodes []*graph.Node, edges []*graph.Edge, communities map[int][]string, ...) []Question + type Report struct + Bridges []BridgeNode + Communities []CommunityInfo + CommunityMap map[int][]string + CrossFileEdgeCount int + GodNodes []GodNode + IsolatedNodes []*graph.Node + Modularity float64 + PackageStats []PackageStats + Questions []Question + Summary ReportSummary + Surprises []Surprise + func GenerateReport(nodes []*graph.Node, edges []*graph.Edge, opts ReportOptions) *Report + func (r *Report) FormatMarkdown(opts ReportOptions) string + type ReportOptions struct + IncludeMembers bool + TopN int + func DefaultReportOptions() ReportOptions + type ReportSummary struct + ConfidenceCounts map[string]int + EdgeTypeCounts map[string]int + NodeTypeCounts map[string]int + TotalEdges int + TotalNodes int + type Surprise struct + Confidence string + ConfidenceScore float64 + From string + FromLabel string + Score float64 + SourceFiles []string + To string + ToLabel string + Type string + Why string + func SurprisingConnections(nodes []*graph.Node, edges []*graph.Edge, communities map[int][]string, ...) []Surprise v0.1.0 Apr 11, 2026