AttractorEx.Graph (attractor_phoenix v0.1.0)

Copy Markdown View Source

Normalized in-memory representation of a parsed pipeline graph.

A graph carries graph-level attributes, node and edge defaults, a node map, and a flat edge list. AttractorEx.Parser produces this struct, AttractorEx.Validator checks it, and AttractorEx.Engine executes it.

Summary

Types

t()

@type t() :: %AttractorEx.Graph{
  attrs: map(),
  edge_defaults: map(),
  edges: list(),
  id: String.t(),
  node_defaults: map(),
  nodes: map()
}