Re: [Neo4j] Need help with user referral graph

2014-01-26 Thread Wes Freeman
1) Direction doesn't matter, pick one and stick with it. I usually go with the subject pointing to the object with the verb as a relationship (in the case where the relationship type is a verb). 2) I think you're missing the direction on your relationship (here I'm assuming your direction is this w

[Neo4j] Need help with user referral graph

2014-01-26 Thread Steve
Hi all, I have a website where users can refer other users, who in turn can refer other users. This can be a fairly large tree/graph structure (as deep as 1000 or more). We keep track of each users revenue they have earned us (from ads).I'm trying to calculate a user's worth by finding o