# `Lightning.Graph`
[🔗](https://github.com/OpenFn/lightning/blob/main/lib/lightning/workorders/graph.ex#L1)

A workflow's edges as a graph, for finding the steps downstream of a job.

# `t`

```elixir
@type t() :: %Lightning.Graph{edges: MapSet.t(), nodes: MapSet.t()}
```

# `add_edge`

```elixir
@spec add_edge(t(), Lightning.Workflows.Edge.t()) :: t()
```

# `new`

```elixir
@spec new() :: t()
```

# `nodes`

# `prune`

```elixir
@spec prune(t(), any()) :: t()
```

# `remove_edges`

```elixir
@spec remove_edges(t(), [{any(), any()}]) :: t()
```

---

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