Head's Up! Site migration is underway.
Phase 2: migrate recent content
I know Link Prediction algorithms are still in alpha but could you add to the documentation the different possibilities for the "direction" parameter?
Thanks for raising this, I've passed this on and will be sorted.
There are many issues currently with the Link Prediction functions in the GDS library. We don't want to address all of them immediately (because we're busy with other topics) and as such it feels difficult to address just this one concern. Thus we will leave the docs unchanged, for now.
However, I can tell you that the direction parameter supports three values:
These are the equivalents of a Cypher MATCH pattern, respectively:
Since the Link Prediction functions effectively will do a traversal between two input nodes, the operation is directly comparable to a Cypher MATCH. There are a few syntactic sugars you can use as well, which are visible in the source code.
I hope this helps!
All the best