Skip to content

Add Pagerank #14

@newmanrs

Description

@newmanrs

If graph data library (GDS) is installed,

CALL gds.graph.create.cypher(
    'full_graph',
    'MATCH (n) RETURN id(n) AS id',
    'MATCH (n)-[e]-(m) RETURN id(n) AS source, e.weight AS weight, id(m) AS target'
)
CALL gds.pageRank.write('full_graph', {
    maxIterations: 200,
    dampingFactor: 0.85,
    writeProperty: 'full_pagerank'})

Results of above queries pass the plausibility test of the most central Hops at Cloudburst being by far Citra (see attachment)
image

  • Add these steps to ETL script
  • Add exception handling to pass if GDS is missing.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions