cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Cypher projection from subgraph, GDS Algos

Hi Neo4j Community,

This is my first post in the community! The community has been a great source of help for me so far. Thanks.

I have a question about Cypher Projections in the GDS Library.

I want to create a subgraph from a node and generate a graph projection of that so that i can run pagerank.

How can I create a cypher projection using a variable length query? I'm having difficulty since the format it expects is source id and target.

Example: Create a cypher projection graph for 1/2 hop neighbors of a particular node
(n)-[*1..2]-(m)

1 REPLY 1