# `AshWorkflow.Charts.Graph.Note`
[🔗](https://github.com/team-alembic/ash_workflow/blob/v0.12.0/lib/ash_workflow/charts/graph/note.ex#L1)

Something a step does without leaving it, attached to its
`AshWorkflow.Charts.Graph.Node`.

* `:policy` — the step's `policy` check. `label` is the check's own
  description, such as `actor.role == :reviewer`.
* `:retry` — the step's `retry` block, when it allows more than one attempt.
  `label` reads like `3 attempts, 10 seconds apart`.
* `:timeout` — a timeout that runs `action` and stays in the step. `name` is
  the timeout's name, and `label` is its deadline, such as `after 2 days`.
* `:every` — an `every` entry that runs `action`. `name` is its name, and
  `label` is its schedule, such as `every 1 hour for 3 hours`.

* `:on_signal` — an `on_signal` handler that runs `action` and stays in the
  step. `name` and `label` are the signal's name.

A `:timeout` or `:every` note also carries `retry`: its own retry policy,
worded as a `:retry` note is, or `nil` when it makes one attempt.

# `kind`

```elixir
@type kind() :: :policy | :retry | :timeout | :every | :on_signal
```

# `t`

```elixir
@type t() :: %AshWorkflow.Charts.Graph.Note{
  action: atom() | nil,
  kind: kind(),
  label: String.t(),
  name: atom() | nil,
  retry: String.t() | nil
}
```

---

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