# `Macaw.Frame.Diagrams.Class`
[🔗](https://github.com/dcoai/macaw_frame/blob/v0.1.0/lib/macaw/frame/diagrams/class.ex#L1)

`diagrams.class` (spec/13 §7.3): a layered DAG of compartmented class nodes joined by relations, in a layout frame over the `layered` step. Its
slots are `Macaw.Frame.TextForms.Class`'s: `nodes` (`id`, `label` holding the members' lines, `shape` opt, `group` opt), `edges` (`source`, `target`, `label`, `head`, `tail`, `line`, each opt but the ends) and `members` (`node`, `text`, `visibility` opt, `kind` opt), filled by a use site's text
(`classDiagram` / `A <|-- B`) or bound to sources.

    iex> Macaw.Frame.Diagrams.Class.id()
    "diagrams.class"

# `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): a pond's animals.

# `fragment`

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

The fragment: the text form's design.

# `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, §7.3): the conventions a diagram takes.

# `slots`

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

Its slots: the text form's.

# `text_bind`

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

The parameters a read text sets: none, its header names no parameter.

# `text_form`

```elixir
@spec text_form() :: module()
```

Its text form (spec/13 §7.3).

---

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