The node similarity algo (from GDS) considers all the outgoing relationships from a node and computes similarities on the basis of the same.
Can we somehow consider both incoming and outgoing relationships while using the node similarity?
You could load your data in both directions -
REVERSE , so although
NodeSimilarity uses outgoing relationships to define the source and target nodes (source nodes are measured for similarity to each other based on target nodes), you can duplicate the relationships to cover both directions.
Thanks, @alicia_frame1! This solved my problem.