查询:
https://www.cnblogs.com/ljhdo/p/5516793.html
https://blog.csdn.net/superman_xxx/article/details/81461850
https://www.jianshu.com/p/2bb98c81d8ee
最短路径 地杰斯特拉算法
https://blog.csdn.net/wry2008wry/article/details/80748018
自家的一点例子:
查询GAME下两级
match path2=(n:Games)-[]-()-[]-() return path2
返回Games类型里面的Dota节点和DotaHero类型里面的屠夫节点
match(a:Games),(b:DotaHero) where a.name = 'Dota' and b.name = '屠夫' return a,b
create (n:技能{name:'腐肉堆积',type:'被动'})
match (a:DotaHero),(b:技能) where a.name='屠夫' and b.name='腐肉堆积' create (b)-[r:`技能`{位置:['3技能']}]->(a) RETURN r
创建一个技能节点,name属性是腐肉堆积,type类型是被动
查询屠夫节点和腐肉堆积节点,创建腐肉堆积到屠夫的关系 关系类型是技能 位置类型是3技能