You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/modules/ROOT/pages/algorithms/pregel-api.adoc
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@ The introduction of a new Pregel algorithm can be separated in two main steps.
29
29
First, we need to implement the algorithm using the Pregel Java API.
30
30
Second, we need to expose the algorithm via a Cypher procedure to make use of it.
31
31
32
-
For an example on how to expose a custom Pregel computation via a Neo4j procedure, have a look at the https://github.com/neo4j/graph-data-science/tree/master/examples/pregel-example/src/main/java/org/neo4j/gds/beta/pregel[Pregel examples].
32
+
For an example on how to expose a custom Pregel computation via a Neo4j procedure, have a look at the https://github.com/neo4j/graph-data-science/tree/2.13/examples/pregel-example/src/main/java/org/neo4j/gds/beta/pregel[Pregel examples].
33
33
34
34
[[algorithms-pregel-api-java]]
35
35
== Pregel Java API
@@ -549,7 +549,7 @@ For more details, please refer to the xref:algorithms/pregel-api.adoc#algorithms
549
549
=== Building and installing a Neo4j plugin
550
550
551
551
In order to use a Pregel algorithm in Neo4j via a procedure, we need to package it as Neo4j plugin.
552
-
The https://github.com/neo4j/graph-data-science/tree/master/examples/pregel-bootstrap[pregel-bootstrap] project is a good starting point.
552
+
The https://github.com/neo4j/graph-data-science/tree/2.13/examples/pregel-bootstrap[pregel-bootstrap] project is a good starting point.
553
553
The `build.gradle` file within the project contains all the dependencies necessary to implement a Pregel algorithm and to generate corresponding procedures.
554
554
555
555
Make sure to change the `gdsVersion` and `neo4jVersion` according to your setup.
The https://github.com/neo4j/graph-data-science/tree/master/examples/pregel-example[pregel-examples] module contains a set of examples for Pregel algorithms.
581
+
The https://github.com/neo4j/graph-data-science/tree/2.13/examples/pregel-example[pregel-examples] module contains a set of examples for Pregel algorithms.
582
582
The algorithm implementations demonstrate the usage of the Pregel API.
583
583
Along with each example, we provide test classes that can be used as a guideline on how to write tests for custom algorithms.
584
584
To play around, we recommend copying one of the algorithms into the `pregel-bootstrap` project, build it and setup the plugin in Neo4j.
0 commit comments