# `WolframModel.GeodesicPlotSVG`
[🔗](https://github.com/sragli/wolfram_model/blob/main/lib/wolfram_model/geodesic_plot_svg.ex#L1)

SVG line chart of geodesic ball growth in a `Hypergraph`.

For each seed vertex, the plot shows `V(r)` — the number of vertices
reachable within geodesic distance `r` — as a function of `r`. In a
*d*-dimensional space, `V(r) ~ r^d`, so the slope of the log-log version
gives an estimate of the effective spatial dimension.

Two panels are rendered side-by-side:
1. **Linear** — `V(r)` vs `r` (raw ball volumes).
2. **Log-log** — `log V(r)` vs `log r` with the best-fit line whose slope
   is the estimated dimension `d`.

## Example

    evolved.hypergraph
    |> WolframModel.GeodesicPlotSVG.to_svg(seeds: 5, title: "Dimension estimate")
    |> then(&File.write!("geodesic.svg", &1))

# `to_svg`

```elixir
@spec to_svg(
  Hypergraph.t(),
  keyword()
) :: String.t()
```

Returns an SVG string containing the geodesic ball growth chart.

Options:
- `:seeds` — number of seed vertices to sample (default `5`).
- `:title` — overall title shown above both panels.

---

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