# `Macaw.Frame.Layers.Flow`
[🔗](https://github.com/dcoai/macaw_frame/blob/v0.1.0/lib/macaw/frame/layers/flow.ex#L1)

The `flow` kind (spec/04 §5.3): a map's flow per row, an arc from its origin to its
destination, new in the second cut.

| Channel | Role, family | Types | |
|---|---|---|---|
| `x0`, `y0` | position: the origin, projected | number | req |
| `x1`, `y1` | position: the destination, projected | number | req |
| `value` | size (the stroke's width, pixels) | number | |
| `series` | series | category, text, number | |

Options: `great_circle` (`false`), `curvature` (`0.25`, the arc's bow as a share of its
length), `width` (`2`, the width without a `value`). Parts: `stroke`. Paint: `stroke`
(`fill: none`). Not bent. In a geographic frame its ends are the `projection` step's
pixels; in a cartesian one its scales'. One path per row, its stroke's width the
`value` (through the frame's `size` scale when it declares one, a `sqrt` scale for
`maps.flows`) or `width`: a quadratic arc bowed to the left of its direction, or with
`great_circle` the geodesic between the two ends sampled before projecting, each end
read back through the frame's projection, broken where the projection clips it. A flow
with an end the projection cannot read back is drawn as an arc. Anchor: the
destination. Budget: `w`. Summary: "flow map", extremes over `value`.

---

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