Skip to content

Commit 6c458c1

Browse files
committed
Change links to point to 2.13 resources
1 parent 48c0721 commit 6c458c1

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

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

551551
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.
553553
The `build.gradle` file within the project contains all the dependencies necessary to implement a Pregel algorithm and to generate corresponding procedures.
554554

555555
Make sure to change the `gdsVersion` and `neo4jVersion` according to your setup.
@@ -578,7 +578,7 @@ dbms.security.procedures.allowlist=custom.pregel.proc.*
578578
[[algorithms-pregel-api-example]]
579579
== Examples
580580

581-
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.
582582
The algorithm implementations demonstrate the usage of the Pregel API.
583583
Along with each example, we provide test classes that can be used as a guideline on how to write tests for custom algorithms.
584584
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)