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

Public graph edge for workflow run inspection.

Edge statuses are derived from durable step and attempt state only. Conditional
route selection can add richer skipped-edge evidence later without changing
the node shape.

# `edge_status`

```elixir
@type edge_status() :: :selected | :skipped | :pending | :blocked
```

# `edge_type`

```elixir
@type edge_type() :: :transition | :dependency | :dynamic
```

# `t`

```elixir
@type t() :: %Squidie.Runs.GraphInspection.Edge{
  condition: map() | nil,
  from: String.t(),
  id: String.t(),
  outcome: atom() | nil,
  recovery: atom() | nil,
  status: edge_status(),
  to: String.t(),
  type: edge_type()
}
```

# `to_map`

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

Converts a graph edge into the stable host UI map shape.

---

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