# `Macaw.Frame.Transforms.Chord`
[🔗](https://github.com/dcoai/macaw_frame/blob/v0.1.0/lib/macaw/frame/transforms/chord.ex#L1)

The `chord` step (spec/04 §7.2): a chord diagram of the flows, laid out by
`Macaw.Draw.Layout.Chord` (`needs: [:frame]`).

`fields: [source, target]` and `field` (required) the flow's value; the nodes are the
distinct ids in order of first appearance, or the `nodes` table's rows keyed by `id`.
`padding` is the pad angle in radians. The radius is half the shorter side of `size`
(the plot by default); the center is always the frame's (visualize #488), so the ring
meets an `arc` layer however either is sized. `output: "groups"` answers one row per
node, `index`, `id`, `start_angle`, `end_angle`, `value` and its sector's `path`;
`"chords"` one row per chord, `source`, `target`, `source_value`, `target_value` and the
ribbon's `path`. A flow naming a node the nodes table lacks is
`{"fields", {:unknown_node, id}}`.

# `phrase`

```elixir
@spec phrase() :: String.t()
```

What the frame is called when a data layer's rows are laid out by this step (spec/11 §2.2).

---

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