# `Macaw.Frame.Maps.Flows`
[🔗](https://github.com/dcoai/macaw_frame/blob/v0.1.0/lib/macaw/frame/maps/flows.ex#L1)

`maps.flows` (spec/13 §7.2), a second-cut map layer: a `flow` per row from its `origin`
to its `destination` (each a `{longitude, latitude}` point), its width by `value`
through a `sqrt` `size` scale up to `max_width`, along the great circle when
`great_circle` is set. Both ends go through the map's projection: the origin's pixels are
moved to `x0` and `y0` by macaw_data's `fold` (a rename: one column a fold), and the
destination's are the second projection's `x` and `y`; a flow whose origin the
projection clips has no origin and draws nothing. New in the second cut.

    iex> Macaw.Frame.Maps.Flows.id()
    "maps.flows"

# `doc`

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

What it draws, for a person and a builder's library.

# `fixtures`

```elixir
@spec fixtures() :: [map()]
```

Its fixture (spec/14 §1): shipments from London and Paris to other cities.

# `fragment`

```elixir
@spec fragment() :: map()
```

The fragment: both ends projected under one flow layer and its size scale.

# `id`

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

The fragment's id in the catalog store.

# `kind`

```elixir
@spec kind() :: :design | :layers
```

What the fragment is: a whole design, or layers placed in one.

# `namespace`

```elixir
@spec namespace() :: :charts | :maps | :diagrams
```

Its namespace (spec/13 §2).

# `parameters`

```elixir
@spec parameters() :: [{String.t(), map()}]
```

Its parameters (spec/13 §7.2).

# `slots`

```elixir
@spec slots() :: %{required(String.t()) =&gt; map()}
```

Its slot: `flows`, an origin and a destination point and a value.

---

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