i using neo4j graph database , java coding. getting 2 unique paths as-
(2)--[knows,4]-->(4)--[knows,6]-->(5)--[knows,9]-->(6) (6)<--[knows,9]--(5)--[knows,8]-->(8)--[knows,11]-->(7)--[knows,12]-->(9)
but when merging them follows
(2)--[knows,4]-->(4)--[knows,6]-->(5)--[knows,9]-->(6)<--[knows,9]--(5)-- [knows,8]-->(8)--[knows,11]-->(7)--[knows,12]-->(9)
as can see edge (6)--(5)
repeating.
plz tell how this?
Comments
Post a Comment