35graph_match.mql 446 B

1234567891011121314151617181920
  1. match ("biz_local:查账系统")-[:contain*1]->()-[*]->("esx_local:*")-[*1]->('switch_local:*')
  2. /**
  3. output()
  4. match("graph.nodes.len",46)
  5. **/
  6. ;
  7. match (b:"biz_local:*")-[*]->(e:"esx_local:*")-[*1]->(s:"switch_local:*") short path b,e,s
  8. /**
  9. output()
  10. match("graph.paths.len",18)
  11. **/
  12. ;
  13. match ("biz_local:查账系统")-[:contain]->("cluster_local:查账系统web集群")-[*]->() until "switch_local:*"
  14. /**
  15. output()
  16. match("graph.nodes.len",18)
  17. **/
  18. ;