NAME
FalkorDB::Path - Representation of a graph traversal path in FalkorDB
DESCRIPTION
Represents a path retrieved from the graph database, which is an alternating sequence of nodes and edges.
METHODS
nodes()
Returns an array reference of node IDs constituting the path in traversal order.
edges()
Returns an array reference of edge IDs constituting the path in traversal order.
elements()
Returns an array reference of alternating element hashes: [ { type = 'node', id => X }, { type => 'edge', id => Y }, ... ]>