Skip to main content

Module node

Module node 

Source
Expand description

Graph node types for the dependency graph.

This module defines the heterogeneous node types used in the CodeGraph:

  • FileNode: Represents a source file
  • SymbolNode: Represents an extracted symbol (function, class, etc.)

Nodes are stored in a unified NodeData enum for use with petgraph.

Structs§

DataGraphNode
Represents a data-bearing node in the data/flow subgraph.
ExternalNode
Represents an external dependency (not in the project).
FileNode
Represents a source file in the dependency graph.
SymbolNode
Represents an extracted symbol in the dependency graph.

Enums§

DependencySource
Where the dependency information came from.
ExternalClassification
Classification of an external dependency.
NodeData
Unified node data enum for the dependency graph.