Edge Types

The FL Repos graph contains 75,735 edges across 19 edge types. Each edge type encodes a specific relationship between two node types.

Edge Type Reference

DEPENDS_ON

RepositoryDependency A repository declares a dependency on an external package.

HAS_FILE

RepositorySourceFile A repository contains a source file.

HAS_FUNCTION

RepositoryFunction SourceFileFunction A repository or source file contains a function definition. The SourceFile → Function edge provides the more specific location.

HAS_CLASS

RepositoryClass SourceFileClass A repository or source file contains a class definition.

HAS_MODEL

RepositoryDataModel A repository defines a Django ORM model.

HAS_FIELD

DataModelModelField A Django model has a field definition.

HAS_ENDPOINT

RepositoryAPIEndpoint A repository exposes an HTTP API endpoint.

HAS_TEST

RepositoryTestCase SourceFileTestCase A repository or source file contains a test case.

HAS_SECURITY_ISSUE

RepositorySecurityPattern SourceFileSecurityPattern A repository or source file has a detected security pattern.

HAS_CONFIG

RepositoryConfigFile A repository contains a configuration file.

COMMITTED_TO

ContributorRepository A contributor has made commits to a repository.

CALLS

FunctionFunction One function calls another function. This edge enables call graph analysis.

IMPORTS

RepositoryRepository One repository imports code from another repository (cross-repo dependency). This edge is derived from import analysis and shared package relationships.

TESTS

TestCaseClass TestCaseFunction A test case directly tests a class or function. This edge is inferred from test naming conventions and import analysis.

DEFINED_IN

FunctionSourceFile ClassSourceFile DataModelSourceFile An entity is defined in a source file. The inverse of HAS_FUNCTION, HAS_CLASS, and HAS_MODEL — useful for navigating from entity to file.

INHERITS_FROM

ClassClass A class inherits from another class. Only populated when both the parent and child classes are represented as nodes in the graph.

USES_MODEL

FunctionDataModel ClassDataModel A function or class references a Django model. Inferred from import analysis and type annotations.

SERVES_ENDPOINT

ClassAPIEndpoint FunctionAPIEndpoint A view class or function serves an API endpoint.

SAME_AS

ContributorContributor Two contributor nodes represent the same person (different name/email combinations in Git history that have been de-duplicated). This edge connects the canonical node to aliases.

Edge Count Summary