I agree if you're modeling a symmetric friendship network like Facebook. However, Twitter following can be asymmetric. I could store the directionality on a relationship property, but that gets even uglier.
That only applies when the relationship implies bi-directionality. On Twitter, me following you doesn't necessarily mean that you follow me. Thus both directions are persisted in the model.
If this were on Facebook, however, you would be right. (:User)-[:FRIENDS_WITH]-(:User) would only need to be persisted once and with an arbitrary direction.
7 comments
[ 2.3 ms ] story [ 30.9 ms ] threadIf this were on Facebook, however, you would be right. (:User)-[:FRIENDS_WITH]-(:User) would only need to be persisted once and with an arbitrary direction.