graph - Link Nodes Together -
i have graph based database neo4j or giraph existing 50 vertices , edges linking them together.
now want introduce new vertex - x graph. vertex needs run similarity algo against of other nodes. node/nodes similarity score highest form new edges of graph.
my question - 1 - possible in giraph/neo4j? 2 - reference link can provide implementation of this?
thanks, manish
yes possible, e.g. imagine nodes have numeric value property:
match (n:label) abs(n.value-{new_value}) delta,n order delta desc limit 1 create (m:label {value:{new_value})-[:linked]->(n)
Comments
Post a Comment