graph

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 13, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package graph builds a dependency graph and computes PageRank.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildGraph

func BuildGraph(fileInfos []model.FileInfo) []model.Dependency

BuildGraph creates dependency edges from cross-file symbol references. Returns a list of dependencies suitable for the RepoMap.

func Rank

func Rank(fileInfos []model.FileInfo, deps []model.Dependency)

Rank applies PageRank to file_infos and sorts them by rank descending.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL