Boltx.Types.Relationship (Boltx v0.0.4)

Self-contained graph relationship.

A Relationship represents a relationship from a Neo4j graph and consists of a unique identifier (within the scope of its origin graph), identifiers for the start and end nodes of that relationship, a type and a map of properties.

https://github.com/boltprotocol/boltprotocol/blob/master/v1/_serialization.asciidoc#relationship

Summary

Types

@type t() :: %Boltx.Types.Relationship{
  element_id: String.t(),
  end: term(),
  end_node_element_id: String.t(),
  id: integer(),
  properties: map(),
  start: term(),
  start_node_element_id: String.t(),
  type: term()
}