Skip to main content

Module graph

Module graph 

Source
Expand description

Core graph types and operations.

This module defines the fundamental building blocks:

  • Node: Graph nodes representing code entities
  • Edge: Directed relationships between nodes
  • CodeGraph: The main graph database interface

Modules§

algorithms
Graph traversal and analysis algorithms.

Structs§

CodeGraph
The main code graph database.
Edge
A directed edge in the code graph.
Node
A node in the code graph.
PropertyMap
Flexible key-value metadata store for nodes and edges.

Enums§

Direction
Direction for neighbor queries.
EdgeType
Type of edge (relationship) between nodes.
NodeType
Type of a node in the code graph.
PropertyValue
Strongly-typed property value for node/edge metadata.

Type Aliases§

EdgeId
Unique identifier for an edge (monotonic counter).
NodeId
Unique identifier for a node (monotonic counter).