My graph is a tree structure with root and end nodes, and a line of nodes between them with [:NEXT]->
relationships from one to the next. Some nodes along that path also have [:BRANCH]->
relationships to other root nodes, and through them to other lines of nodes.
What Cypher query will return an ordered list of the nodes on the path from beginning to end, with any BRANCH
relationships being included with the records for the nodes that have them?
EDIT: It's not a technical diagram, but the basic structure looks like this:
with each node depicted as a black circle. In this case, I would would want every node depicted here.