# `Volt.Builder.Collector`
[🔗](https://github.com/elixir-volt/volt/blob/v0.10.1/lib/volt/builder/collector.ex#L1)

Walks the dependency graph from entry files, collecting modules and workers.

# `collect`

Walk the dependency graph from an entry file.

Returns `{:ok, modules, dep_map, workers}` where:
- `modules` is `[{abs_path, label, source}]` in dependency order
- `dep_map` is `%{abs_path => %{static: [abs_path], dynamic: [abs_path]}}`
- `workers` is `%{importer_path => %{specifier => worker_abs_path}}`

---

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