I'm starting my first graph database project and I have a few questions on
the best way to setup the node relationships.

Say you want to model a Father/Son relationship. What is the best
relationship and direction to use for that?


1. Father --IS_PARENT--> Son

or

2. SON --IS_CHILD--> Father

or do you add a relationship to both

3. FATHER --IS_PARENT--> SON
   SON --IS_CHILD--> Father

What is the best way to design this type of relationship? What direction is
best to use?

I noticed in the matrix example, relationships point from Neo to the other
characters. Is there also a relationship from the reference node to Neo, or
does Neo point to the reference node?

Thanks for any tips you can give on how to best structure a graph database
design.

Matt
_______________________________________________
Neo mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to