xiexiexxs:
if i make cypher projection as following:
"MATCH (n)--(m:user) RETURN id(n) AS source, id(m) AS target"'
does it mean that the projected network i got will be undirected?
yes, your projected graph will be undirected one .
xiexie...
MATCH (point : Point) --(g:Grid)
WITH g, apoc.coll.sortNodes( COLLECT (point),"^pid") as points
UNWIND RANGE (0,SIZE(points)-2) as index
RETURN distance(points[index].location,points[index+1].location)
taking all the nodes connected to grid , and ...
We will need a brief explanation on data points you have to help you with designing the graph.
you can create separate post asking for design help actually rather than continuing here. More people will see if its post.