Poney.Model.Relationship (Poney v0.1.0)

Copy Markdown View Source

How one entity uses another (§5.2), such as "calls" or "publishes". data lists the data types that travel along it.

Summary

Types

t()

@type t() :: %Poney.Model.Relationship{
  data: [String.t()],
  description: String.t() | nil,
  ext: %{optional(String.t()) => term()},
  id: String.t(),
  kind: String.t(),
  label: String.t(),
  metadata: %{optional(String.t()) => String.t() | number() | boolean()},
  protocol: String.t() | nil,
  source: String.t(),
  target: String.t()
}