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: README.adoc
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -95,7 +95,7 @@ OpenGDS is available to build, use, and extend under the constraints of the GNU
95
95
96
96
== Using the Pregel API
97
97
98
-
To build your own algorithms using the Pregel API (see at https://neo4j.com/docs/graph-data-science/current/algorithms/pregel-api/#algorithms-pregel-api-example[docs]), we recommend starting with the https://github.com/neo4j/graph-data-science/tree/1.8.0/examples/pregel-bootstrap[pregel-bootstrap project].
98
+
To build your own algorithms using the Pregel API (see at https://neo4j.com/docs/graph-data-science/current/algorithms/pregel-api/#algorithms-pregel-api-example[docs]), we recommend starting with the https://github.com/neo4j/graph-data-science/tree/2.2/examples/pregel-bootstrap[pregel-bootstrap project].
99
99
100
100
NOTE: The module on `master` depends on the unpublished version of this library. The GDS version can be changed in the `build.gradle` of the `pregel-bootstrap` module.
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
@@ -28,7 +28,7 @@ The introduction of a new Pregel algorithm can be separated in two main steps.
28
28
First, we need to implement the algorithm using the Pregel Java API.
29
29
Second, we need to expose the algorithm via a Cypher procedure to make use of it.
30
30
31
-
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].
31
+
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/{docs-version}/examples/pregel-example/src/main/java/org/neo4j/gds/beta/pregel[Pregel examples].
32
32
33
33
[[algorithms-pregel-api-java]]
34
34
== Pregel Java API
@@ -509,7 +509,7 @@ For more details, please refer to the xref:algorithms/pregel-api.adoc#algorithms
509
509
=== Building and installing a Neo4j plugin
510
510
511
511
In order to use a Pregel algorithm in Neo4j via a procedure, we need to package it as Neo4j plugin.
512
-
The https://github.com/neo4j/graph-data-science/tree/master/examples/pregel-bootstrap[pregel-bootstrap] project is a good starting point.
512
+
The https://github.com/neo4j/graph-data-science/tree/{docs-version}/examples/pregel-bootstrap[pregel-bootstrap] project is a good starting point.
513
513
The `build.gradle` file within the project contains all the dependencies necessary to implement a Pregel algorithm and to generate corresponding procedures.
514
514
515
515
Make sure to change the `gdsVersion` and `neo4jVersion` according to your setup.
@@ -540,7 +540,7 @@ NOTE: Before `Neo4j 4.2`, the configuration setting is called `dbms.security.pro
540
540
[[algorithms-pregel-api-example]]
541
541
== Examples
542
542
543
-
The https://github.com/neo4j/graph-data-science/tree/master/examples/pregel-example[pregel-examples] module contains a set of examples for Pregel algorithms.
543
+
The https://github.com/neo4j/graph-data-science/tree/{docs-version}/examples/pregel-example[pregel-examples] module contains a set of examples for Pregel algorithms.
544
544
The algorithm implementations demonstrate the usage of the Pregel API.
545
545
Along with each example, we provide test classes that can be used as a guideline on how to write tests for custom algorithms.
546
546
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