Skip to content

Commit f1a33f9

Browse files
committed
Update links to pregel source code
1 parent d545f9a commit f1a33f9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/modules/ROOT/pages/algorithms/pregel-api.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ The introduction of a new Pregel algorithm can be separated in two main steps.
2929
First, we need to implement the algorithm using the Pregel Java API.
3030
Second, we need to expose the algorithm via a Cypher procedure to make use of it.
3131

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.3/examples/pregel-example/src/main/java/org/neo4j/gds/beta/pregel[Pregel examples].
3333

3434
[[algorithms-pregel-api-java]]
3535
== Pregel Java API
@@ -510,7 +510,7 @@ For more details, please refer to the xref:algorithms/pregel-api.adoc#algorithms
510510
=== Building and installing a Neo4j plugin
511511

512512
In order to use a Pregel algorithm in Neo4j via a procedure, we need to package it as Neo4j plugin.
513-
The https://github.com/neo4j/graph-data-science/tree/master/examples/pregel-bootstrap[pregel-bootstrap] project is a good starting point.
513+
The https://github.com/neo4j/graph-data-science/tree/2.3/examples/pregel-bootstrap[pregel-bootstrap] project is a good starting point.
514514
The `build.gradle` file within the project contains all the dependencies necessary to implement a Pregel algorithm and to generate corresponding procedures.
515515

516516
Make sure to change the `gdsVersion` and `neo4jVersion` according to your setup.
@@ -541,7 +541,7 @@ NOTE: Before `Neo4j 4.2`, the configuration setting is called `dbms.security.pro
541541
[[algorithms-pregel-api-example]]
542542
== Examples
543543

544-
The https://github.com/neo4j/graph-data-science/tree/master/examples/pregel-example[pregel-examples] module contains a set of examples for Pregel algorithms.
544+
The https://github.com/neo4j/graph-data-science/tree/2.3/examples/pregel-example[pregel-examples] module contains a set of examples for Pregel algorithms.
545545
The algorithm implementations demonstrate the usage of the Pregel API.
546546
Along with each example, we provide test classes that can be used as a guideline on how to write tests for custom algorithms.
547547
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

Comments
 (0)