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

Copy Markdown View Source

Public graph node for workflow run inspection.

Nodes represent declared workflow steps. The graph projection keeps node identifiers as strings so host UIs can use the same shape across persisted inspection snapshots.

Summary

Functions

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

Types

t()

@type t() :: %Squidie.Runs.GraphInspection.Node{
  action: atom() | String.t() | nil,
  attempts: [map()],
  current?: boolean(),
  deadline: map() | nil,
  dynamic?: boolean(),
  error: map() | nil,
  id: String.t(),
  input: map() | nil,
  manual_state: map() | nil,
  metadata: map(),
  origin: map() | nil,
  output: map() | nil,
  recovery: map() | nil,
  status: atom(),
  transition: map() | nil
}

Functions

to_map(node)

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

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