I have simple use case where I have cyclic parents
A>B>C>D>E
F>G>H>C>I
If I search C I need to get all parents and level
C C>B 1
C C>B>A 2
C C>H 1
C C>H>G 2
C C>H>G>F 3
I have simple use case where I have cyclic parents
A>B>C>D>E
F>G>H>C>I
If I search C I need to get all parents and level
C C>B 1
C C>B>A 2
C C>H 1
C C>H>G 2
C C>H>G>F 3
Can you show the Cypher you've tried so far, and how that hasn't met what you're looking for?
That may help us figure out if there's a misunderstanding we can focus on.
Hi @swapnilspra,
Maybe try length functions?
More information in docs: Scalar functions - Cypher Manual