A segment combines a relationship in a path with a start and end node that describe the traversal direction
for that relationship. This exists because the relationship has a direction between the two nodes that is
separate and potentially different from the direction of the path.
Segment 1: (n1)-[r1]->(n2)
Segment 2: (n2)<-[r2]-(n3)