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

The `pack` step (spec/04 §7.2): circle packing, `x`, `y` and `r` per node, `padding` between circles, laid out by `Macaw.Draw.Layout.Pack` in the
plot (`needs: [:frame]`).

`id` and `by` (the parent, `nil` or `""` for the root) stratify the rows; `field` is
summed (`nil` as `0`), else leaves are counted; `size` defaults to the plot.
`output: "nodes"` answers one row per node in pre-order, the input's columns with
`depth`, `height`, `value`, `branch` (the root's child it descends from, `nil` for
the root) and the layout's positions; `output: "links"` one row per parent–child pair,
`source`, `target`, both ends and the link's `path`, where the layout has links. A
cycle, a second root or a parent that is no node is `{"by", {:hierarchy, reason}}`.

# `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*
