When counting hops, has the first node (the one that is directly connected) the distance of one hop or zero hops?
For example, in this code will return the results when the path is equal to or shorter than 3 hops:
MATCH path=(n {id: 0})-[relationships * ..3]->(m {id: 8})
RETURN path,relationships;
So is this actually A->B->C->D
or A->B->C
. What is defined as hop, number of nodes or relations that are traversed?
I couldn't find this information anywhere.