# `Artefact.Relationship`
[🔗](https://github.com/diffo-dev/artefactory/blob/v0.2.0/lib/artefact/graph.ex#L25)

A directed relationship between two nodes in an `%Artefact{}` graph.

`type` is a single CamelCase or SCREAMING_SNAKE_CASE string (Neo4j has no multi-label
relationships). `from_id` and `to_id` reference node `id` fields within the same graph.

# `t`

```elixir
@type t() :: %Artefact.Relationship{
  from_id: String.t(),
  id: String.t(),
  properties: map(),
  to_id: String.t(),
  type: String.t()
}
```

---

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