say that i am modelling a production line consisting of several steps. The line has 2 "entry points" (stepA and stepD) and one "end" (stepG), and the subgraphs starting from the two entry points "merge" at one point(stepC) in the line - like this:
What i would like to achieve is to have this flattened into a list looking like this:
So: the upper path from start to the merging point (but excluding it), the lower path from start to the merging point (but including it) and the rest of the path.
Can we achieve something like this with Cypher? If yes - would it also work for more that two starting points and evtl. several different merging points?