py2neo
py2neo copied to clipboard
how to get relation name
cypher = "match p=shortestPath((n:Entity{name:"aaa"})-[*]-(m:Entity{name:"bbb"})) return p" g = Graph(...,...) PATH = g.run(cypher).to_series()
How do I get the name attribute of the relationship in the PATH?