neo4j - drawing connecting nodes where some number of connections occurs -


in neo4j, i'm graphing nodes have > x number of connections of relationship r following query:

match (c:company)-[r:founder]-(x) c, count(r) count count > 3 return c 

the above code outputs graph visualization of company nodes only.

if try return 3 variables writing return c,r,x, following error:

r not defined (line 3, column 12) "  return c,r,x"             ^ 

how update query show company nodes , founders?

does work if this?

match (c:company)-[r:founder]-(x) c, r, x, count(r) count count > 3 return c, r, x 

Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - Bypass Geo Redirect for specific directories -

php - .htaccess mod_rewrite for dynamic url which has domain names -