Versions in this module Expand all Collapse all v0 v0.1.0 Jul 18, 2026 Changes in this version + func LabelCommunity(members []types.Node) string + func RunLeiden(n int, edges [][2]int, opts LeidenOpts) []int + type Community struct + ID int + Label string + Members []string + type Edge struct + ChildID string + Level int + ParentID string + type LeidenOpts struct + MaxIters int + Resolution float64 + Seed int64 + type PersistClusterEdge struct + ChildID string + Level int + ParentID string + type PkgTree struct + Edges []Edge + func BuildPkgTree(g *graph.Graph) *PkgTree + func (t *PkgTree) LevelOf(id string) int + func (t *PkgTree) Parent(id string) (string, bool) + func (t *PkgTree) PersistEdges() []PersistClusterEdge + type Resolution struct + Communities []Community + Gamma float64 + type TopicTree struct + NodeToComm []map[string]int + Resolutions []Resolution + func BuildTopicTree(g *graph.Graph, gammas []float64, seed int64) *TopicTree + func (t *TopicTree) ResolutionGamma(i int) float64 + func (t *TopicTree) ResolutionMembers(i int) map[string][]string + func (t *TopicTree) ResolutionsCount() int