# `Clarity.Vertex.ModuleProvider`
[🔗](https://github.com/team-alembic/clarity/blob/v0.6.0/lib/clarity/vertex/module_provider.ex#L1)

Protocol for extracting module atoms from vertices.

This protocol allows vertices to specify which module should be used
when displaying module documentation.

# `t`

```elixir
@type t() :: term()
```

All the types that implement this protocol.

# `module`

```elixir
@spec module(t()) :: module() | nil
```

Returns the module atom associated with this vertex, or nil if no module exists.

---

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