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

`charts.force_graph` (spec/13 §5.7): one force layout per realization shared by the
links and the nodes (the step's `prepare/3`), warm across deliveries and cold in a
printout, links ending at their nodes, contrast labels hidden where they don't fit.
Copied from the gallery's `Examples.Charts.ForceGraph`
(`examples/lib/examples/charts/force_graph.ex`). Its nodes are the flows' distinct ids,
drawn in the first series color: the optional `nodes` slot and its `group`, which would
color them by group, are not read.

    iex> Macaw.Frame.Charts.ForceGraph.id()
    "charts.force_graph"

# `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 team's collaborations.

# `fragment`

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

The fragment: the force step's links and nodes.

# `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.7).

# `slots`

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

Its slot: `links`, its value optional (spec/13 §5).

---

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