Bolt.Sips v2.0.11 Bolt.Sips.Types.Path View Source

Self-contained graph path.

A Path is a sequence of alternating nodes and relationships corresponding to a walk in the graph. The path always begins and ends with a node. Its representation consists of a list of distinct nodes, a list of distinct relationships and a sequence of integers describing the path traversal

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

Link to this section Summary

Functions

represents a traversal or walk through a graph and maintains a direction separate from that of any relationships traversed

Link to this section Types

Link to this type

t()

View Source
t() :: %Bolt.Sips.Types.Path{
  nodes: list() | nil,
  relationships: list() | nil,
  sequence: list() | nil
}

Link to this section Functions

represents a traversal or walk through a graph and maintains a direction separate from that of any relationships traversed