caffeine_lang/codegen/graph_data
Types
A directed edge in the dependency graph.
pub type GraphEdge {
GraphEdge(
source: String,
target: String,
relation_type: String,
)
}
Constructors
-
GraphEdge(source: String, target: String, relation_type: String)
Values
pub fn generate(
irs: List(ir.IntermediateRepresentation(ir.Resolved)),
) -> GraphData
Generates structured graph data from resolved IRs. Nodes are derived from all IRs; edges come from DependencyRelations artifacts.