# `Macaw.Frame.Charts.Partition`
[🔗](https://github.com/dcoai/macaw_frame/blob/v0.1.0/lib/macaw/frame/charts/partition.ex#L1)

`charts.partition` (spec/13 §5.3): a sunburst of arcs on the partition's own angles and
radii, or an icicle of rects, below the root and only positive values, with truncated
contrast labels. `shape` chooses the frame's model (polar for the sunburst, cartesian
over the unit square for the icicle) and which of the two layers draws (spec/02 §7.5). Copied from visualize's
`Visualize.Chart.Presets.sunburst_chart/1`.

    iex> Macaw.Frame.Charts.Partition.id()
    "charts.partition"

# `doc`

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

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

# `fixtures`

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

Its fixtures (spec/14 §1).

# `fragment`

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

The fragment: the partition step's nodes as arcs (sunburst) or rects (icicle).

# `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 §3, §5.3).

# `slots`

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

Its slot: a hierarchy's `nodes` (spec/13 §5).

---

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