Add shortest paths to highvalue query
parent
62b74d14fe
commit
e9e36ddeca
|
@ -187,6 +187,18 @@
|
|||
"endNode": "{}"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Shortest Paths to High Value Targets",
|
||||
"queryList": [
|
||||
{
|
||||
"final": true,
|
||||
"query":
|
||||
"MATCH (n),(m),p=shortestPath((n)-[r:{}*1..]->(m)) WHERE m.highvalue=true AND NOT m = n RETURN p",
|
||||
"allowCollapse": true,
|
||||
"endNode": "{}"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue