# `Jizoku.Runs.GraphInspection`
[🔗](https://github.com/dark-trench/jizoku/blob/main/lib/jizoku/runs/graph_inspection.ex#L1)

Compatibility graph inspection struct for workflow runs.

`Jizoku.Inspection.GraphInspection` is the canonical inspection namespace.
This module preserves the original `Jizoku.Runs.*` return shape for existing
callers while delegating projection logic to the canonical implementation.

# `source`

```elixir
@type source() :: :read_model
```

# `t`

```elixir
@type t() :: %Jizoku.Runs.GraphInspection{
  active_edge_ids: [String.t()],
  active_node_ids: [String.t()],
  anomalies: [map()],
  blocked_node_ids: [String.t()],
  child_links: [map()],
  child_runs: [map()],
  continuation: map(),
  continuation_links: [map()],
  current_node_id: String.t() | nil,
  current_node_ids: [String.t()],
  definition_version: String.t() | nil,
  dynamic_work: [map()],
  dynamic_work_overlays: [map()],
  edges: [Jizoku.Runs.GraphInspection.Edge.t()],
  graph_provenance: map(),
  graph_version: non_neg_integer(),
  mutation_history: [map()],
  nodes: [Jizoku.Runs.GraphInspection.Node.t()],
  partition: String.t() | nil,
  ready_node_ids: [String.t()],
  reconciliation_status: :not_required | :required | :completed | :unknown,
  run_id: String.t(),
  source: source(),
  status: atom(),
  terminal?: boolean(),
  tombstoned_edge_ids: [String.t()],
  tombstoned_node_ids: [String.t()],
  workflow: module() | String.t() | nil
}
```

# `from_inspection_graph`

```elixir
@spec from_inspection_graph(Jizoku.Inspection.GraphInspection.t()) :: t()
```

Converts a canonical inspection graph into the compatibility struct.

# `from_snapshot`

```elixir
@spec from_snapshot(
  Jizoku.ReadModel.Inspection.Snapshot.t(),
  keyword()
) :: t()
```

Builds compatibility graph inspection data from a run snapshot.

# `to_inspection_graph`

```elixir
@spec to_inspection_graph(t()) :: Jizoku.Inspection.GraphInspection.t()
```

Converts a compatibility graph into the canonical inspection struct.

# `to_map`

```elixir
@spec to_map(t()) :: map()
```

Converts graph inspection data into a stable map for host UI serializers.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
