Squidie.Runs.GraphInspection.Edge (squidie v0.1.2)

Copy Markdown View Source

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.

Summary

Functions

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

Types

edge_status()

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

edge_type()

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

t()

@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()
}

Functions

to_map(edge)

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

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