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

One step of a workflow, as `AshWorkflow.Charts.Graph.build/2` gives it to a
chart backend.

`kind` is what a backend styles a step by:

* `:automatic` — the step runs an action on entry.
* `:manual` — the step waits for a caller to run one of its transitions.
* `:wait_state` — nothing runs on entry and no caller can move the record.
  A timeout is the only way out.
* `:terminal` — an end state.

`initial?` is `true` for the step the workflow starts in. `notes` holds what
the step does without leaving it, so it has no edge: its policy, its retry
policy, the timeouts that run an action, and its `every` entries.

# `kind`

```elixir
@type kind() :: :automatic | :manual | :wait_state | :terminal
```

# `t`

```elixir
@type t() :: %AshWorkflow.Charts.Graph.Node{
  id: atom(),
  initial?: boolean(),
  kind: kind(),
  notes: [AshWorkflow.Charts.Graph.Note.t()]
}
```

---

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