diff --git a/pages/advanced-algorithms.mdx b/pages/advanced-algorithms.mdx
index 34abb89c3..d755ec38e 100644
--- a/pages/advanced-algorithms.mdx
+++ b/pages/advanced-algorithms.mdx
@@ -30,7 +30,7 @@ Dynamic graph algorithms are a part of [Memgraph Enterprise
license](/database-management/enabling-memgraph-enterprise).
For more algorithms, check the **Memgraph Advanced Graph Extensions** (**MAGE**)
-library. It is part of the [Memgraph GitHub repository](https://github.com/memgraph/memgraph/tree/master/mage)
+library. It is part of the [Memgraph GitHub repository](https://github.com/memgraph/memgraph/tree/master/src/mage)
that contains [graph algorithms](/advanced-algorithms/available-algorithms)
written by the team behind Memgraph and its users in the form of query modules.
The project aims to give everyone the tools they need to tackle the most
diff --git a/pages/advanced-algorithms/available-algorithms.mdx b/pages/advanced-algorithms/available-algorithms.mdx
index 749aa1ea2..b6e6dc234 100644
--- a/pages/advanced-algorithms/available-algorithms.mdx
+++ b/pages/advanced-algorithms/available-algorithms.mdx
@@ -111,7 +111,7 @@ If you want to know more and learn how this affects you, read our [announcement]
| [nodes](/advanced-algorithms/available-algorithms/nodes) | C++ | A module that provides a comprehensive toolkit for managing multiple graph nodes, enabling linking, updating, type deduction and more. |
| [periodic](/advanced-algorithms/available-algorithms/periodic) | C++ | A module containing procedures for periodically running difficult and/or memory/time consuming queries. |
| [refactor](/advanced-algorithms/available-algorithms/refactor) | C++ | The refactor module provides utilities for changing nodes and relationships. |
-| [rust_example](https://github.com/memgraph/memgraph/tree/master/mage/rust/rsmgp-example) | Rust | Example of a basic module with input parameters forwarding, made in Rust. |
+| [rust_example](https://github.com/memgraph/memgraph/tree/master/src/mage/rust/rsmgp-example) | Rust | Example of a basic module with input parameters forwarding, made in Rust. |
| [set_property](/advanced-algorithms/available-algorithms/set_property) | C++ | A module for dynamical access and editing of node and relationship properties. |
| [temporal](/advanced-algorithms/available-algorithms/temporal) | Python | A module that provides functions to handle temporal (time-related) operations and offers extended capabilities compared to the date module. |
| [text](/advanced-algorithms/available-algorithms/text) | C++ | The `text` module offers a toolkit for manipulating strings. |
diff --git a/pages/advanced-algorithms/available-algorithms/algo.mdx b/pages/advanced-algorithms/available-algorithms/algo.mdx
index 16d6a13ec..c3d418b04 100644
--- a/pages/advanced-algorithms/available-algorithms/algo.mdx
+++ b/pages/advanced-algorithms/available-algorithms/algo.mdx
@@ -16,7 +16,7 @@ enabling users to perform complex graph-based operations and computations, such
}
title="Source code"
- href="https://github.com/memgraph/memgraph/blob/master/mage/cpp/algo_module/algo_module.cpp"
+ href="https://github.com/memgraph/memgraph/blob/master/src/mage/cpp/algo_module/algo_module.cpp"
/>
diff --git a/pages/advanced-algorithms/available-algorithms/betweenness_centrality.mdx b/pages/advanced-algorithms/available-algorithms/betweenness_centrality.mdx
index 43f92557a..7383b0062 100644
--- a/pages/advanced-algorithms/available-algorithms/betweenness_centrality.mdx
+++ b/pages/advanced-algorithms/available-algorithms/betweenness_centrality.mdx
@@ -28,7 +28,7 @@ Centrality"](http://www.uvm.edu/pdodds/research/papers/others/2001/brandes2001a.
}
title="Source code"
- href="https://github.com/memgraph/memgraph/blob/master/mage/cpp/betweenness_centrality_module/betweenness_centrality_module.cpp"
+ href="https://github.com/memgraph/memgraph/blob/master/src/mage/cpp/betweenness_centrality_module/betweenness_centrality_module.cpp"
/>
diff --git a/pages/advanced-algorithms/available-algorithms/betweenness_centrality_online.mdx b/pages/advanced-algorithms/available-algorithms/betweenness_centrality_online.mdx
index 3d7ed9507..09f0b3654 100644
--- a/pages/advanced-algorithms/available-algorithms/betweenness_centrality_online.mdx
+++ b/pages/advanced-algorithms/available-algorithms/betweenness_centrality_online.mdx
@@ -48,7 +48,7 @@ reflective of real-time changes.
}
title="Source code"
- href="https://github.com/memgraph/memgraph/blob/master/mage/cpp/betweenness_centrality_module/betweenness_centrality_online_module.cpp"
+ href="https://github.com/memgraph/memgraph/blob/master/src/mage/cpp/betweenness_centrality_module/betweenness_centrality_online_module.cpp"
/>
diff --git a/pages/advanced-algorithms/available-algorithms/biconnected_components.mdx b/pages/advanced-algorithms/available-algorithms/biconnected_components.mdx
index a50fd6915..2144fd3a6 100644
--- a/pages/advanced-algorithms/available-algorithms/biconnected_components.mdx
+++ b/pages/advanced-algorithms/available-algorithms/biconnected_components.mdx
@@ -21,7 +21,7 @@ The algorithm works by finding articulation points, and then traversing from the
}
title="Source code"
- href="https://github.com/memgraph/memgraph/blob/master/mage/cpp/biconnected_components_module/biconnected_components_module.cpp"
+ href="https://github.com/memgraph/memgraph/blob/master/src/mage/cpp/biconnected_components_module/biconnected_components_module.cpp"
/>
diff --git a/pages/advanced-algorithms/available-algorithms/bipartite_matching.mdx b/pages/advanced-algorithms/available-algorithms/bipartite_matching.mdx
index 9532fee59..84ed70d80 100644
--- a/pages/advanced-algorithms/available-algorithms/bipartite_matching.mdx
+++ b/pages/advanced-algorithms/available-algorithms/bipartite_matching.mdx
@@ -23,7 +23,7 @@ set of edges (relationships).
}
title="Source code"
- href="https://github.com/memgraph/memgraph/blob/master/mage/cpp/bipartite_matching_module/bipartite_matching_module.cpp"
+ href="https://github.com/memgraph/memgraph/blob/master/src/mage/cpp/bipartite_matching_module/bipartite_matching_module.cpp"
/>
diff --git a/pages/advanced-algorithms/available-algorithms/bridges.mdx b/pages/advanced-algorithms/available-algorithms/bridges.mdx
index 1bf17867e..459ab30fb 100644
--- a/pages/advanced-algorithms/available-algorithms/bridges.mdx
+++ b/pages/advanced-algorithms/available-algorithms/bridges.mdx
@@ -20,7 +20,7 @@ valuable to detect it on time.
}
title="Source code"
- href="https://github.com/memgraph/memgraph/blob/master/mage/cpp/bridges_module/bridges_module.cpp"
+ href="https://github.com/memgraph/memgraph/blob/master/src/mage/cpp/bridges_module/bridges_module.cpp"
/>
diff --git a/pages/advanced-algorithms/available-algorithms/collections.mdx b/pages/advanced-algorithms/available-algorithms/collections.mdx
index 339874be6..4c6c7920c 100644
--- a/pages/advanced-algorithms/available-algorithms/collections.mdx
+++ b/pages/advanced-algorithms/available-algorithms/collections.mdx
@@ -20,7 +20,7 @@ using the `CALL` subclause.
}
title="Source code"
- href="https://github.com/memgraph/memgraph/blob/master/mage/cpp/collections_module/collections_module.cpp"
+ href="https://github.com/memgraph/memgraph/blob/master/src/mage/cpp/collections_module/collections_module.cpp"
/>
diff --git a/pages/advanced-algorithms/available-algorithms/community_detection.mdx b/pages/advanced-algorithms/available-algorithms/community_detection.mdx
index 51144ea3b..ed6cdc5c2 100644
--- a/pages/advanced-algorithms/available-algorithms/community_detection.mdx
+++ b/pages/advanced-algorithms/available-algorithms/community_detection.mdx
@@ -32,7 +32,7 @@ preserving communities.
}
title="Source code"
- href="https://github.com/memgraph/memgraph/blob/master/mage/cpp/community_detection_module/community_detection_module.cpp"
+ href="https://github.com/memgraph/memgraph/blob/master/src/mage/cpp/community_detection_module/community_detection_module.cpp"
/>
diff --git a/pages/advanced-algorithms/available-algorithms/create.mdx b/pages/advanced-algorithms/available-algorithms/create.mdx
index cebc0f5aa..31f4f4bef 100644
--- a/pages/advanced-algorithms/available-algorithms/create.mdx
+++ b/pages/advanced-algorithms/available-algorithms/create.mdx
@@ -17,7 +17,7 @@ model, manipulate, and query complex graph data.
}
title="Source code"
- href="https://github.com/memgraph/memgraph/blob/master/mage/cpp/create_module/create_module.cpp"
+ href="https://github.com/memgraph/memgraph/blob/master/src/mage/cpp/create_module/create_module.cpp"
/>
diff --git a/pages/advanced-algorithms/available-algorithms/cross_database.mdx b/pages/advanced-algorithms/available-algorithms/cross_database.mdx
index 1856d6704..00f462f3a 100644
--- a/pages/advanced-algorithms/available-algorithms/cross_database.mdx
+++ b/pages/advanced-algorithms/available-algorithms/cross_database.mdx
@@ -24,7 +24,7 @@ procedure has been replaced by the more general [`cross_database.bolt()`](#bolt)
}
title="Source code"
- href="https://github.com/memgraph/memgraph/blob/master/mage/python/cross_database.py"
+ href="https://github.com/memgraph/memgraph/blob/master/src/mage/python/cross_database.py"
/>
diff --git a/pages/advanced-algorithms/available-algorithms/csv_utils.mdx b/pages/advanced-algorithms/available-algorithms/csv_utils.mdx
index 1c1e91f0c..03afe001c 100644
--- a/pages/advanced-algorithms/available-algorithms/csv_utils.mdx
+++ b/pages/advanced-algorithms/available-algorithms/csv_utils.mdx
@@ -16,7 +16,7 @@ It allows users to create and delete CSV files directly from the database enviro
}
title="Source code"
- href="https://github.com/memgraph/memgraph/blob/master/mage/cpp/csv_utils_module/csv_utils_module.cpp"
+ href="https://github.com/memgraph/memgraph/blob/master/src/mage/cpp/csv_utils_module/csv_utils_module.cpp"
/>
diff --git a/pages/advanced-algorithms/available-algorithms/cugraph.mdx b/pages/advanced-algorithms/available-algorithms/cugraph.mdx
index c63ba24ac..05a324041 100644
--- a/pages/advanced-algorithms/available-algorithms/cugraph.mdx
+++ b/pages/advanced-algorithms/available-algorithms/cugraph.mdx
@@ -23,7 +23,7 @@ wrappers for most of the algorithms present in the
}
title="Source code"
- href="https://github.com/memgraph/memgraph/blob/master/mage/cpp/cugraph_module"
+ href="https://github.com/memgraph/memgraph/blob/master/src/mage/cpp/cugraph_module"
/>
diff --git a/pages/advanced-algorithms/available-algorithms/cycles.mdx b/pages/advanced-algorithms/available-algorithms/cycles.mdx
index 6da8bbe66..b853583dc 100644
--- a/pages/advanced-algorithms/available-algorithms/cycles.mdx
+++ b/pages/advanced-algorithms/available-algorithms/cycles.mdx
@@ -26,7 +26,7 @@ set of nodes (vertices) of the given graph.
}
title="Source code"
- href="https://github.com/memgraph/memgraph/blob/master/mage/cpp/cycles_module/cycles_module.cpp"
+ href="https://github.com/memgraph/memgraph/blob/master/src/mage/cpp/cycles_module/cycles_module.cpp"
/>
diff --git a/pages/advanced-algorithms/available-algorithms/degree_centrality.mdx b/pages/advanced-algorithms/available-algorithms/degree_centrality.mdx
index 308b0252d..bbc62f4ff 100644
--- a/pages/advanced-algorithms/available-algorithms/degree_centrality.mdx
+++ b/pages/advanced-algorithms/available-algorithms/degree_centrality.mdx
@@ -25,7 +25,7 @@ a_{i,k}$ or in matrix form: $y = A 1$.
}
title="Source code"
- href="https://github.com/memgraph/memgraph/blob/master/mage/cpp/degree_centrality_module/degree_centrality_module.cpp"
+ href="https://github.com/memgraph/memgraph/blob/master/src/mage/cpp/degree_centrality_module/degree_centrality_module.cpp"
/>
diff --git a/pages/advanced-algorithms/available-algorithms/distance_calculator.mdx b/pages/advanced-algorithms/available-algorithms/distance_calculator.mdx
index 3e086203c..22ee28cd6 100644
--- a/pages/advanced-algorithms/available-algorithms/distance_calculator.mdx
+++ b/pages/advanced-algorithms/available-algorithms/distance_calculator.mdx
@@ -24,7 +24,7 @@ this:
}
title="Source code"
- href="https://github.com/memgraph/memgraph/blob/master/mage/cpp/distance_calculator/distance_calculator.cpp"
+ href="https://github.com/memgraph/memgraph/blob/master/src/mage/cpp/distance_calculator/distance_calculator.cpp"
/>
diff --git a/pages/advanced-algorithms/available-algorithms/do.mdx b/pages/advanced-algorithms/available-algorithms/do.mdx
index e3ec392e8..cad9f2925 100644
--- a/pages/advanced-algorithms/available-algorithms/do.mdx
+++ b/pages/advanced-algorithms/available-algorithms/do.mdx
@@ -18,7 +18,7 @@ that will control query execution.
}
title="Source code"
- href="https://github.com/memgraph/memgraph/blob/master/mage/cpp/do_module/do_module.cpp"
+ href="https://github.com/memgraph/memgraph/blob/master/src/mage/cpp/do_module/do_module.cpp"
/>
diff --git a/pages/advanced-algorithms/available-algorithms/elasticsearch_synchronization.mdx b/pages/advanced-algorithms/available-algorithms/elasticsearch_synchronization.mdx
index f1d6b68a4..a72fd2927 100644
--- a/pages/advanced-algorithms/available-algorithms/elasticsearch_synchronization.mdx
+++ b/pages/advanced-algorithms/available-algorithms/elasticsearch_synchronization.mdx
@@ -49,7 +49,7 @@ create new ones with custom schema**. Indexing can be performed in two ways:
}
title="Source code"
- href="https://github.com/memgraph/memgraph/blob/master/mage/python/elastic_search_serialization.py"
+ href="https://github.com/memgraph/memgraph/blob/master/src/mage/python/elastic_search_serialization.py"
/>
diff --git a/pages/advanced-algorithms/available-algorithms/embeddings.mdx b/pages/advanced-algorithms/available-algorithms/embeddings.mdx
index c7360ad43..b1034c9c7 100644
--- a/pages/advanced-algorithms/available-algorithms/embeddings.mdx
+++ b/pages/advanced-algorithms/available-algorithms/embeddings.mdx
@@ -27,7 +27,7 @@ credentials.
}
title="Source code"
- href="https://github.com/memgraph/memgraph/blob/master/mage/python/embeddings.py"
+ href="https://github.com/memgraph/memgraph/blob/master/src/mage/python/embeddings.py"
/>
diff --git a/pages/advanced-algorithms/available-algorithms/export_util.mdx b/pages/advanced-algorithms/available-algorithms/export_util.mdx
index 9b9feee57..961be5b4d 100644
--- a/pages/advanced-algorithms/available-algorithms/export_util.mdx
+++ b/pages/advanced-algorithms/available-algorithms/export_util.mdx
@@ -24,7 +24,7 @@ Currently, this module supports:
}
title="Source code"
- href="https://github.com/memgraph/memgraph/blob/master/mage/python/export_util.py"
+ href="https://github.com/memgraph/memgraph/blob/master/src/mage/python/export_util.py"
/>
diff --git a/pages/advanced-algorithms/available-algorithms/gnn.mdx b/pages/advanced-algorithms/available-algorithms/gnn.mdx
index e1341f698..5278db274 100644
--- a/pages/advanced-algorithms/available-algorithms/gnn.mdx
+++ b/pages/advanced-algorithms/available-algorithms/gnn.mdx
@@ -29,7 +29,7 @@ Typical workflow:
}
title="Source code"
- href="https://github.com/memgraph/memgraph/blob/master/mage/python/gnn.py"
+ href="https://github.com/memgraph/memgraph/blob/master/src/mage/python/gnn.py"
/>
diff --git a/pages/advanced-algorithms/available-algorithms/gnn_link_prediction.mdx b/pages/advanced-algorithms/available-algorithms/gnn_link_prediction.mdx
index 07c29dcb5..dc40f9907 100644
--- a/pages/advanced-algorithms/available-algorithms/gnn_link_prediction.mdx
+++ b/pages/advanced-algorithms/available-algorithms/gnn_link_prediction.mdx
@@ -32,7 +32,7 @@ representations by aggregating the representations of node neighbors and their
representation from the previous iteration. Such properties make **graph neural
networks** a great tool for various problems we in Memgraph encounter. If your
graph is evolving in time, check [TGN
-model](https://github.com/memgraph/memgraph/blob/master/mage/python/tgn.py) that Memgraph
+model](https://github.com/memgraph/memgraph/blob/master/src/mage/python/tgn.py) that Memgraph
engineers have already developed.
In this includes the following features:
@@ -92,7 +92,7 @@ For the underlying **GNN** training Memgraph uses the [DGL library](https://gith
}
title="Source code"
- href="https://github.com/memgraph/memgraph/blob/master/mage/python/link_prediction.py"
+ href="https://github.com/memgraph/memgraph/blob/master/src/mage/python/link_prediction.py"
/>
diff --git a/pages/advanced-algorithms/available-algorithms/gnn_node_classification.mdx b/pages/advanced-algorithms/available-algorithms/gnn_node_classification.mdx
index f1e7fcb8d..9af741596 100644
--- a/pages/advanced-algorithms/available-algorithms/gnn_node_classification.mdx
+++ b/pages/advanced-algorithms/available-algorithms/gnn_node_classification.mdx
@@ -45,7 +45,7 @@ useful.
}
title="Source code"
- href="https://github.com/memgraph/memgraph/blob/master/mage/python/node_classification.py"
+ href="https://github.com/memgraph/memgraph/blob/master/src/mage/python/node_classification.py"
/>
diff --git a/pages/advanced-algorithms/available-algorithms/graph_coloring.mdx b/pages/advanced-algorithms/available-algorithms/graph_coloring.mdx
index 0888f2c51..faff998ef 100644
--- a/pages/advanced-algorithms/available-algorithms/graph_coloring.mdx
+++ b/pages/advanced-algorithms/available-algorithms/graph_coloring.mdx
@@ -40,7 +40,7 @@ converging to local minimums too early.
}
title="Source code"
- href="https://github.com/memgraph/memgraph/blob/master/mage/python/graph_coloring.py"
+ href="https://github.com/memgraph/memgraph/blob/master/src/mage/python/graph_coloring.py"
/>
diff --git a/pages/advanced-algorithms/available-algorithms/graph_util.mdx b/pages/advanced-algorithms/available-algorithms/graph_util.mdx
index 43cc207a4..5f12ffddb 100644
--- a/pages/advanced-algorithms/available-algorithms/graph_util.mdx
+++ b/pages/advanced-algorithms/available-algorithms/graph_util.mdx
@@ -18,7 +18,7 @@ manipulation tools to accelerate development.
}
title="Source code"
- href="https://github.com/memgraph/memgraph/blob/master/mage/cpp/graph_util_module/graph_util_module.cpp"
+ href="https://github.com/memgraph/memgraph/blob/master/src/mage/cpp/graph_util_module/graph_util_module.cpp"
/>
diff --git a/pages/advanced-algorithms/available-algorithms/igraphalg.mdx b/pages/advanced-algorithms/available-algorithms/igraphalg.mdx
index 47b62a7ec..7a5d734fa 100644
--- a/pages/advanced-algorithms/available-algorithms/igraphalg.mdx
+++ b/pages/advanced-algorithms/available-algorithms/igraphalg.mdx
@@ -18,7 +18,7 @@ stream the native database graph directly, significantly lowering memory usage.
}
title="Source code"
- href="https://github.com/memgraph/memgraph/blob/master/mage/python/igraphalg.py"
+ href="https://github.com/memgraph/memgraph/blob/master/src/mage/python/igraphalg.py"
/>
diff --git a/pages/advanced-algorithms/available-algorithms/import_util.mdx b/pages/advanced-algorithms/available-algorithms/import_util.mdx
index 04bcc81d5..b6f16e1a4 100644
--- a/pages/advanced-algorithms/available-algorithms/import_util.mdx
+++ b/pages/advanced-algorithms/available-algorithms/import_util.mdx
@@ -18,7 +18,7 @@ supports the import of JSON and graphML file formats.
}
title="Source code"
- href="https://github.com/memgraph/memgraph/blob/master/mage/python/import_util.py"
+ href="https://github.com/memgraph/memgraph/blob/master/src/mage/python/import_util.py"
/>
diff --git a/pages/advanced-algorithms/available-algorithms/json_util.mdx b/pages/advanced-algorithms/available-algorithms/json_util.mdx
index 4a01a1600..2b77d21de 100644
--- a/pages/advanced-algorithms/available-algorithms/json_util.mdx
+++ b/pages/advanced-algorithms/available-algorithms/json_util.mdx
@@ -18,7 +18,7 @@ and if it is a map, the module loads it as a single value.
}
title="Source code"
- href="https://github.com/memgraph/memgraph/blob/master/mage/python/json_util.py"
+ href="https://github.com/memgraph/memgraph/blob/master/src/mage/python/json_util.py"
/>
diff --git a/pages/advanced-algorithms/available-algorithms/katz_centrality.mdx b/pages/advanced-algorithms/available-algorithms/katz_centrality.mdx
index fc9174b61..c336b2804 100644
--- a/pages/advanced-algorithms/available-algorithms/katz_centrality.mdx
+++ b/pages/advanced-algorithms/available-algorithms/katz_centrality.mdx
@@ -38,7 +38,7 @@ resulting centralities will be correct.
}
title="Source code"
- href="https://github.com/memgraph/memgraph/blob/master/mage/cpp/katz_centrality_module/katz_centrality_module.cpp"
+ href="https://github.com/memgraph/memgraph/blob/master/src/mage/cpp/katz_centrality_module/katz_centrality_module.cpp"
/>
diff --git a/pages/advanced-algorithms/available-algorithms/kmeans_clustering.mdx b/pages/advanced-algorithms/available-algorithms/kmeans_clustering.mdx
index 25b7abd4e..ca50792d7 100644
--- a/pages/advanced-algorithms/available-algorithms/kmeans_clustering.mdx
+++ b/pages/advanced-algorithms/available-algorithms/kmeans_clustering.mdx
@@ -18,7 +18,7 @@ sum-of-squares.
}
title="Source code"
- href="https://github.com/memgraph/memgraph/blob/master/mage/python/kmeans.py"
+ href="https://github.com/memgraph/memgraph/blob/master/src/mage/python/kmeans.py"
/>
diff --git a/pages/advanced-algorithms/available-algorithms/knn.mdx b/pages/advanced-algorithms/available-algorithms/knn.mdx
index b71dde9a8..9c228f1a4 100644
--- a/pages/advanced-algorithms/available-algorithms/knn.mdx
+++ b/pages/advanced-algorithms/available-algorithms/knn.mdx
@@ -23,7 +23,7 @@ finding nodes with similar embeddings, features, or other vector-based propertie
}
title="Source code"
- href="https://github.com/memgraph/memgraph/blob/master/mage/cpp/knn_module/knn_module.cpp"
+ href="https://github.com/memgraph/memgraph/blob/master/src/mage/cpp/knn_module/knn_module.cpp"
/>
diff --git a/pages/advanced-algorithms/available-algorithms/label.mdx b/pages/advanced-algorithms/available-algorithms/label.mdx
index 8da9d0b8a..73327f563 100644
--- a/pages/advanced-algorithms/available-algorithms/label.mdx
+++ b/pages/advanced-algorithms/available-algorithms/label.mdx
@@ -17,7 +17,7 @@ to check the existence of a label within the node.
}
title="Source code"
- href="https://github.com/memgraph/memgraph/blob/master/mage/cpp/label_module/label_module.cpp"
+ href="https://github.com/memgraph/memgraph/blob/master/src/mage/cpp/label_module/label_module.cpp"
/>
diff --git a/pages/advanced-algorithms/available-algorithms/leiden_community_detection.mdx b/pages/advanced-algorithms/available-algorithms/leiden_community_detection.mdx
index 3fbd31a39..bc6655d3d 100644
--- a/pages/advanced-algorithms/available-algorithms/leiden_community_detection.mdx
+++ b/pages/advanced-algorithms/available-algorithms/leiden_community_detection.mdx
@@ -32,7 +32,7 @@ space complexity if $\mathcal{O}(VE)$ for $V$ nodes and $E$ edges.
}
title="Source code"
- href="https://github.com/memgraph/memgraph/blob/master/mage/cpp/leiden_community_detection_module/leiden_community_detection_module.cpp"
+ href="https://github.com/memgraph/memgraph/blob/master/src/mage/cpp/leiden_community_detection_module/leiden_community_detection_module.cpp"
/>
diff --git a/pages/advanced-algorithms/available-algorithms/llm_util.mdx b/pages/advanced-algorithms/available-algorithms/llm_util.mdx
index fb3add1bc..5fdf93d5e 100644
--- a/pages/advanced-algorithms/available-algorithms/llm_util.mdx
+++ b/pages/advanced-algorithms/available-algorithms/llm_util.mdx
@@ -26,7 +26,7 @@ developing applications powered by language models.
}
title="Source code"
- href="https://github.com/memgraph/memgraph/blob/master/mage/python/llm_util.py"
+ href="https://github.com/memgraph/memgraph/blob/master/src/mage/python/llm_util.py"
/>
diff --git a/pages/advanced-algorithms/available-algorithms/map.mdx b/pages/advanced-algorithms/available-algorithms/map.mdx
index 320171d59..b1c32cc05 100644
--- a/pages/advanced-algorithms/available-algorithms/map.mdx
+++ b/pages/advanced-algorithms/available-algorithms/map.mdx
@@ -17,7 +17,7 @@ context.
}
title="Source code"
- href="https://github.com/memgraph/memgraph/blob/master/mage/cpp/map_module/map_module.cpp"
+ href="https://github.com/memgraph/memgraph/blob/master/src/mage/cpp/map_module/map_module.cpp"
/>
diff --git a/pages/advanced-algorithms/available-algorithms/math.mdx b/pages/advanced-algorithms/available-algorithms/math.mdx
index 85e0ff78b..2ac659a11 100644
--- a/pages/advanced-algorithms/available-algorithms/math.mdx
+++ b/pages/advanced-algorithms/available-algorithms/math.mdx
@@ -15,7 +15,7 @@ The `math` module provides essential mathematical operations for precise numeric
}
title="Source code"
- href="https://github.com/memgraph/memgraph/blob/master/mage/cpp/math_module/math_module.cpp"
+ href="https://github.com/memgraph/memgraph/blob/master/src/mage/cpp/math_module/math_module.cpp"
/>
diff --git a/pages/advanced-algorithms/available-algorithms/max_flow.mdx b/pages/advanced-algorithms/available-algorithms/max_flow.mdx
index e3595fbd9..26870030d 100644
--- a/pages/advanced-algorithms/available-algorithms/max_flow.mdx
+++ b/pages/advanced-algorithms/available-algorithms/max_flow.mdx
@@ -37,7 +37,7 @@ returning max flow value is 0.
}
title="Source code"
- href="https://github.com/memgraph/memgraph/blob/master/mage/python/max_flow.py"
+ href="https://github.com/memgraph/memgraph/blob/master/src/mage/python/max_flow.py"
/>
diff --git a/pages/advanced-algorithms/available-algorithms/merge.mdx b/pages/advanced-algorithms/available-algorithms/merge.mdx
index 7abdc1554..df5cad88b 100644
--- a/pages/advanced-algorithms/available-algorithms/merge.mdx
+++ b/pages/advanced-algorithms/available-algorithms/merge.mdx
@@ -16,7 +16,7 @@ It ensures precision and coherence in managing interconnected data structures.
}
title="Source code"
- href="https://github.com/memgraph/memgraph/blob/master/mage/cpp/merge_module/merge_module.cpp"
+ href="https://github.com/memgraph/memgraph/blob/master/src/mage/cpp/merge_module/merge_module.cpp"
/>
diff --git a/pages/advanced-algorithms/available-algorithms/meta.mdx b/pages/advanced-algorithms/available-algorithms/meta.mdx
index 743832583..003535ed0 100644
--- a/pages/advanced-algorithms/available-algorithms/meta.mdx
+++ b/pages/advanced-algorithms/available-algorithms/meta.mdx
@@ -21,7 +21,7 @@ The **meta** module provides a set of procedures for generating metadata about t
}
title="Source code"
- href="https://github.com/memgraph/memgraph/blob/master/mage/cpp/meta_module/meta_module.cpp"
+ href="https://github.com/memgraph/memgraph/blob/master/src/mage/cpp/meta_module/meta_module.cpp"
/>
diff --git a/pages/advanced-algorithms/available-algorithms/meta_util.mdx b/pages/advanced-algorithms/available-algorithms/meta_util.mdx
index 69574b053..bb1cc714a 100644
--- a/pages/advanced-algorithms/available-algorithms/meta_util.mdx
+++ b/pages/advanced-algorithms/available-algorithms/meta_util.mdx
@@ -16,7 +16,7 @@ A module that contains procedures describing graphs on a meta-level.
}
title="Source code"
- href="https://github.com/memgraph/memgraph/blob/master/mage/python/meta_util.py"
+ href="https://github.com/memgraph/memgraph/blob/master/src/mage/python/meta_util.py"
/>
diff --git a/pages/advanced-algorithms/available-algorithms/neighbors.mdx b/pages/advanced-algorithms/available-algorithms/neighbors.mdx
index ce0cd70a0..585b059a5 100644
--- a/pages/advanced-algorithms/available-algorithms/neighbors.mdx
+++ b/pages/advanced-algorithms/available-algorithms/neighbors.mdx
@@ -18,7 +18,7 @@ network structure and connectivity.
}
title="Source code"
- href="https://github.com/memgraph/memgraph/blob/master/mage/cpp/neighbors_module/neighbors_module.cpp"
+ href="https://github.com/memgraph/memgraph/blob/master/src/mage/cpp/neighbors_module/neighbors_module.cpp"
/>
diff --git a/pages/advanced-algorithms/available-algorithms/node.mdx b/pages/advanced-algorithms/available-algorithms/node.mdx
index 5ed38df04..ba71b7e57 100644
--- a/pages/advanced-algorithms/available-algorithms/node.mdx
+++ b/pages/advanced-algorithms/available-algorithms/node.mdx
@@ -15,7 +15,7 @@ The `node` module provides a comprehensive toolkit for managing graph nodes, ena
}
title="Source code"
- href="https://github.com/memgraph/memgraph/blob/master/mage/cpp/node_module/node_module.cpp"
+ href="https://github.com/memgraph/memgraph/blob/master/src/mage/cpp/node_module/node_module.cpp"
/>
diff --git a/pages/advanced-algorithms/available-algorithms/node2vec.mdx b/pages/advanced-algorithms/available-algorithms/node2vec.mdx
index 01b6a6e24..a58a9c685 100644
--- a/pages/advanced-algorithms/available-algorithms/node2vec.mdx
+++ b/pages/advanced-algorithms/available-algorithms/node2vec.mdx
@@ -66,7 +66,7 @@ are correct in approximately 75% cases).
}
title="Source code"
- href="https://github.com/memgraph/memgraph/blob/master/mage/python/node2vec.py"
+ href="https://github.com/memgraph/memgraph/blob/master/src/mage/python/node2vec.py"
/>
diff --git a/pages/advanced-algorithms/available-algorithms/node_similarity.mdx b/pages/advanced-algorithms/available-algorithms/node_similarity.mdx
index b5696e96e..57589271d 100644
--- a/pages/advanced-algorithms/available-algorithms/node_similarity.mdx
+++ b/pages/advanced-algorithms/available-algorithms/node_similarity.mdx
@@ -52,7 +52,7 @@ takes into account pairwise similarities between two set of nodes.
}
title="Source code"
- href="https://github.com/memgraph/memgraph/blob/master/mage/cpp/node_similarity_module/node_similarity_module.cpp"
+ href="https://github.com/memgraph/memgraph/blob/master/src/mage/cpp/node_similarity_module/node_similarity_module.cpp"
/>
diff --git a/pages/advanced-algorithms/available-algorithms/nodes.mdx b/pages/advanced-algorithms/available-algorithms/nodes.mdx
index cfd3c5103..22cdff1ef 100644
--- a/pages/advanced-algorithms/available-algorithms/nodes.mdx
+++ b/pages/advanced-algorithms/available-algorithms/nodes.mdx
@@ -15,7 +15,7 @@ The `nodes` module provides a comprehensive toolkit for managing multiple graph
}
title="Source code"
- href="https://github.com/memgraph/memgraph/blob/master/mage/cpp/nodes_module/nodes_module.cpp"
+ href="https://github.com/memgraph/memgraph/blob/master/src/mage/cpp/nodes_module/nodes_module.cpp"
/>
diff --git a/pages/advanced-algorithms/available-algorithms/pagerank.mdx b/pages/advanced-algorithms/available-algorithms/pagerank.mdx
index 045b6509a..8ceabb59d 100644
--- a/pages/advanced-algorithms/available-algorithms/pagerank.mdx
+++ b/pages/advanced-algorithms/available-algorithms/pagerank.mdx
@@ -42,7 +42,7 @@ PageRank implementation.
}
title="Source code"
- href="https://github.com/memgraph/memgraph/blob/master/mage/cpp/pagerank_module/pagerank_module.cpp"
+ href="https://github.com/memgraph/memgraph/blob/master/src/mage/cpp/pagerank_module/pagerank_module.cpp"
/>
diff --git a/pages/advanced-algorithms/available-algorithms/path.mdx b/pages/advanced-algorithms/available-algorithms/path.mdx
index 6ae75ce9c..a34654d22 100644
--- a/pages/advanced-algorithms/available-algorithms/path.mdx
+++ b/pages/advanced-algorithms/available-algorithms/path.mdx
@@ -19,7 +19,7 @@ various other path-oriented operations.
}
title="Source code"
- href="https://github.com/memgraph/memgraph/blob/master/mage/cpp/path_module/path_module.cpp"
+ href="https://github.com/memgraph/memgraph/blob/master/src/mage/cpp/path_module/path_module.cpp"
/>
diff --git a/pages/advanced-algorithms/available-algorithms/periodic.mdx b/pages/advanced-algorithms/available-algorithms/periodic.mdx
index e480283c6..87f241e75 100644
--- a/pages/advanced-algorithms/available-algorithms/periodic.mdx
+++ b/pages/advanced-algorithms/available-algorithms/periodic.mdx
@@ -44,7 +44,7 @@ procedure, the already committed batches cannot be rolled back.
}
title="Source code"
- href="https://github.com/memgraph/memgraph/blob/master/mage/cpp/periodic_module/periodic.cpp"
+ href="https://github.com/memgraph/memgraph/blob/master/src/mage/cpp/periodic_module/periodic.cpp"
/>
diff --git a/pages/advanced-algorithms/available-algorithms/refactor.mdx b/pages/advanced-algorithms/available-algorithms/refactor.mdx
index 987f09a10..36d5c054f 100644
--- a/pages/advanced-algorithms/available-algorithms/refactor.mdx
+++ b/pages/advanced-algorithms/available-algorithms/refactor.mdx
@@ -15,7 +15,7 @@ The `refactor` module provides utilities for changing nodes and relationships.
}
title="Source code"
- href="https://github.com/memgraph/memgraph/blob/master/mage/cpp/refactor_module/refactor_module.cpp"
+ href="https://github.com/memgraph/memgraph/blob/master/src/mage/cpp/refactor_module/refactor_module.cpp"
/>
diff --git a/pages/advanced-algorithms/available-algorithms/set_cover.mdx b/pages/advanced-algorithms/available-algorithms/set_cover.mdx
index d8dd6023e..1d9d7c45a 100644
--- a/pages/advanced-algorithms/available-algorithms/set_cover.mdx
+++ b/pages/advanced-algorithms/available-algorithms/set_cover.mdx
@@ -22,7 +22,7 @@ a constraint programming solver.
}
title="Source code"
- href="https://github.com/memgraph/memgraph/blob/master/mage/python/set_cover.py"
+ href="https://github.com/memgraph/memgraph/blob/master/src/mage/python/set_cover.py"
/>
diff --git a/pages/advanced-algorithms/available-algorithms/set_property.mdx b/pages/advanced-algorithms/available-algorithms/set_property.mdx
index 6c991ef9b..6786c7d2c 100644
--- a/pages/advanced-algorithms/available-algorithms/set_property.mdx
+++ b/pages/advanced-algorithms/available-algorithms/set_property.mdx
@@ -16,7 +16,7 @@ procedures included in it involve copying properties from one entity to another.
}
title="Source code"
- href="https://github.com/memgraph/memgraph/blob/master/mage/cpp/set_property_module/set_property_module.cpp"
+ href="https://github.com/memgraph/memgraph/blob/master/src/mage/cpp/set_property_module/set_property_module.cpp"
/>
diff --git a/pages/advanced-algorithms/available-algorithms/temporal.mdx b/pages/advanced-algorithms/available-algorithms/temporal.mdx
index 0a7b62a02..fb26ff16f 100644
--- a/pages/advanced-algorithms/available-algorithms/temporal.mdx
+++ b/pages/advanced-algorithms/available-algorithms/temporal.mdx
@@ -17,7 +17,7 @@ functions.
}
title="Source code"
- href="https://github.com/memgraph/memgraph/blob/master/mage/python/temporal.py"
+ href="https://github.com/memgraph/memgraph/blob/master/src/mage/python/temporal.py"
/>
diff --git a/pages/advanced-algorithms/available-algorithms/text.mdx b/pages/advanced-algorithms/available-algorithms/text.mdx
index 2c738184f..2966458bb 100644
--- a/pages/advanced-algorithms/available-algorithms/text.mdx
+++ b/pages/advanced-algorithms/available-algorithms/text.mdx
@@ -20,7 +20,7 @@ The `text` module offers a toolkit for manipulating strings.
}
title="Source code"
- href="https://github.com/memgraph/memgraph/blob/master/mage/cpp/text_module/text_module.cpp"
+ href="https://github.com/memgraph/memgraph/blob/master/src/mage/cpp/text_module/text_module.cpp"
/>
diff --git a/pages/advanced-algorithms/available-algorithms/tgn.mdx b/pages/advanced-algorithms/available-algorithms/tgn.mdx
index 244bcc986..3574d2e1e 100644
--- a/pages/advanced-algorithms/available-algorithms/tgn.mdx
+++ b/pages/advanced-algorithms/available-algorithms/tgn.mdx
@@ -138,7 +138,7 @@ new edges are forwarded to the **TGN** and so on.
}
title="Source code"
- href="https://github.com/memgraph/memgraph/blob/master/mage/python/tgn.py"
+ href="https://github.com/memgraph/memgraph/blob/master/src/mage/python/tgn.py"
/>
diff --git a/pages/advanced-algorithms/available-algorithms/tsp.mdx b/pages/advanced-algorithms/available-algorithms/tsp.mdx
index 8b8cc9595..ac791253a 100644
--- a/pages/advanced-algorithms/available-algorithms/tsp.mdx
+++ b/pages/advanced-algorithms/available-algorithms/tsp.mdx
@@ -29,7 +29,7 @@ needs to have its *lat* and *lng* property.
}
title="Source code"
- href="https://github.com/memgraph/memgraph/blob/master/mage/python/tsp.py"
+ href="https://github.com/memgraph/memgraph/blob/master/src/mage/python/tsp.py"
/>
diff --git a/pages/advanced-algorithms/available-algorithms/union_find.mdx b/pages/advanced-algorithms/available-algorithms/union_find.mdx
index bf4a421f6..ab46a3c34 100644
--- a/pages/advanced-algorithms/available-algorithms/union_find.mdx
+++ b/pages/advanced-algorithms/available-algorithms/union_find.mdx
@@ -27,7 +27,7 @@ Algorithms](https://dl.acm.org/doi/10.1145/62.2160)" and presented with
}
title="Source code"
- href="https://github.com/memgraph/memgraph/blob/master/mage/python/union_find.py"
+ href="https://github.com/memgraph/memgraph/blob/master/src/mage/python/union_find.py"
/>
diff --git a/pages/advanced-algorithms/available-algorithms/util_module.mdx b/pages/advanced-algorithms/available-algorithms/util_module.mdx
index 4349dc27c..c75b605ca 100644
--- a/pages/advanced-algorithms/available-algorithms/util_module.mdx
+++ b/pages/advanced-algorithms/available-algorithms/util_module.mdx
@@ -17,7 +17,7 @@ for streamlining a variety of tasks related to database operations.
}
title="Source code"
- href="https://github.com/memgraph/memgraph/blob/master/mage/cpp/util_module/util_module.cpp"
+ href="https://github.com/memgraph/memgraph/blob/master/src/mage/cpp/util_module/util_module.cpp"
/>
diff --git a/pages/advanced-algorithms/available-algorithms/uuid_generator.mdx b/pages/advanced-algorithms/available-algorithms/uuid_generator.mdx
index 464d1b3ed..f4d378305 100644
--- a/pages/advanced-algorithms/available-algorithms/uuid_generator.mdx
+++ b/pages/advanced-algorithms/available-algorithms/uuid_generator.mdx
@@ -19,7 +19,7 @@ installed by running `sudo apt-get install uuid-dev`.
}
title="Source code"
- href="https://github.com/memgraph/memgraph/blob/master/mage/cpp/uuid_module/uuid_module.cpp"
+ href="https://github.com/memgraph/memgraph/blob/master/src/mage/cpp/uuid_module/uuid_module.cpp"
/>
diff --git a/pages/advanced-algorithms/available-algorithms/vrp.mdx b/pages/advanced-algorithms/available-algorithms/vrp.mdx
index 419b41e14..22791a88b 100644
--- a/pages/advanced-algorithms/available-algorithms/vrp.mdx
+++ b/pages/advanced-algorithms/available-algorithms/vrp.mdx
@@ -31,7 +31,7 @@ have its *lat* and *lng* property.
}
title="Source code"
- href="https://github.com/memgraph/memgraph/blob/master/mage/python/vrp.py"
+ href="https://github.com/memgraph/memgraph/blob/master/src/mage/python/vrp.py"
/>
diff --git a/pages/advanced-algorithms/available-algorithms/weakly_connected_components.mdx b/pages/advanced-algorithms/available-algorithms/weakly_connected_components.mdx
index bbf987914..d2e949d80 100644
--- a/pages/advanced-algorithms/available-algorithms/weakly_connected_components.mdx
+++ b/pages/advanced-algorithms/available-algorithms/weakly_connected_components.mdx
@@ -20,7 +20,7 @@ there is no edge that connects nodes from separate components.
}
title="Source code"
- href="https://github.com/memgraph/memgraph/blob/master/mage/cpp/connectivity_module/connectivity_module.cpp"
+ href="https://github.com/memgraph/memgraph/blob/master/src/mage/cpp/connectivity_module/connectivity_module.cpp"
/>
diff --git a/pages/advanced-algorithms/available-algorithms/xml_module.mdx b/pages/advanced-algorithms/available-algorithms/xml_module.mdx
index bf681e96d..16edf36e6 100644
--- a/pages/advanced-algorithms/available-algorithms/xml_module.mdx
+++ b/pages/advanced-algorithms/available-algorithms/xml_module.mdx
@@ -16,7 +16,7 @@ loading and parsing XML data.
}
title="Source code"
- href="https://github.com/memgraph/memgraph/blob/master/mage/python/xml_module.py"
+ href="https://github.com/memgraph/memgraph/blob/master/src/mage/python/xml_module.py"
/>
diff --git a/pages/advanced-algorithms/install-mage.mdx b/pages/advanced-algorithms/install-mage.mdx
index feb131926..81cab9145 100644
--- a/pages/advanced-algorithms/install-mage.mdx
+++ b/pages/advanced-algorithms/install-mage.mdx
@@ -124,49 +124,25 @@ Memgraph package](/getting-started/install-memgraph).
Algorithms and query modules will be loaded into a Memgraph instance on startup
once you install MAGE, so make sure your instances are not running.
-{
Install dependencies
}
-
-To build from source, you will need:
-- Python3
-- Make
-- CMake
-- Clang
-- UUID
-- [Rust and Cargo](https://doc.rust-lang.org/cargo/getting-started/installation.html)
-
-{Set up the machine
}
+{Download the Memgraph source code
}
-Run the following commands:
+MAGE is developed and built as part of the Memgraph repository. Clone the
+[Memgraph source code](https://github.com/memgraph/memgraph) from GitHub
+(install `git` first if you don't have it — `sudo apt-get install -y git`):
-```bash
-sudo apt-get update && sudo apt-get install -y \
- libcurl4 \
- libpython3.12 \
- libssl-dev \
- openssl \
- build-essential \
- cmake \
- curl \
- g++ \
- python3 \
- python3-pip \
- python3-setuptools \
- python3-dev \
- clang \
- git \
- pkg-config \
- uuid-dev \
- xmlsec1 \
- ninja-build \
- --no-install-recommends
+```
+git clone https://github.com/memgraph/memgraph.git && cd memgraph/
```
-{Download the MAGE source code
}
+{Install dependencies
}
-Clone the [Memgraph source code](https://github.com/memgraph/memgraph) from GitHub:
+The repository ships scripts that install everything the toolchain and the
+build need — `build.sh` checks for both sets and stops if anything is
+missing:
-```
-git clone https://github.com/memgraph/memgraph.git && cd memgraph/
+```bash
+sudo ./environment/os/install_deps.sh install TOOLCHAIN_RUN_DEPS
+sudo ./environment/os/install_deps.sh install MEMGRAPH_BUILD_DEPS
```
{Set up the toolchain
}
@@ -177,23 +153,18 @@ curl -L https://s3-eu-west-1.amazonaws.com/deps.memgraph.io/toolchain-v7/toolcha
sudo tar xzvfm toolchain.tar.gz -C /opt
```
-Install runtime dependencies for the toolchain:
-```bash
-sudo ./environment/os/install_deps.sh install TOOLCHAIN_RUN_DEPS
-```
-
{Install Rust and Python dependencies
}
-Run the following command to install Rust and Python dependencies:
+Run the following commands from the root of the repository to install Rust
+and the Python packages the MAGE query modules use at runtime:
```shell
-cd mage
-curl https://sh.rustup.rs -sSf | sh -s -- -y
-export PATH="/root/.cargo/bin:${PATH}"
-python3 -m pip install -r python/requirements.txt
-python3 -m pip install -r ../src/auth/reference_modules/requirements.txt
-python3 -m pip install torch-sparse torch-cluster torch-spline-conv torch-geometric torch-scatter -f https://data.pyg.org/whl/torch-2.6.0+cpu.html
-python3 -m pip install dgl -f https://data.dgl.ai/wheels/torch-2.6/repo.html
+source environment/util.sh
+install_rust 1.89
+python3 -m pip install -r src/mage/python/requirements.txt
+python3 -m pip install -r src/auth/reference_modules/requirements.txt
+python3 -m pip install torch-sparse torch-cluster torch-spline-conv torch-geometric torch-scatter -f https://data.pyg.org/whl/torch-2.8.0+cpu.html
+python3 -m pip install dgl -f https://data.dgl.ai/wheels/torch-2.8/repo.html
```
@@ -201,46 +172,50 @@ python3 -m pip install dgl -f https://data.dgl.ai/wheels/torch-2.6/repo.html
To install the dependencies for GPU-accelerated algorithms, you need to use the GPU-specific requirements file:
```shell
-python3 -m pip install -r python/requirements-gpu.txt
+python3 -m pip install -r src/mage/python/requirements-gpu.txt
```
-{Run the `setup` script
}
+{Build and install MAGE
}
-Run the following command:
+MAGE is built with the same build system as Memgraph. Run the following
+commands from the root of the repository:
```shell
source /opt/toolchain-v7/activate
-python3 setup build
-sudo cp -r dist/* /usr/lib/memgraph/query_modules
+./build.sh --mage only
+sudo cmake --install build --component mage --prefix /usr
```
-
+`./build.sh --mage only` builds just the MAGE query modules (C++, Python and
+Rust) without Memgraph itself — the script sets up everything else it needs
+(a Python virtual environment, the Conan package manager and the project's
+dependencies) on first run. The built modules land in `build/mage/dist`.
-If you don't need all of the algorithms you can build only some of them based on the laguauge.
+The `cmake --install` command then installs the modules to
+`/usr/lib/memgraph/query_modules`, the directory Memgraph loads query modules
+from, together with the runtime libraries they need.
-To build C++ based algorithms run:
+
+
+If you don't need all of the algorithms, you can build a subset by passing
+specific targets:
```shell
-python3 setup build --lang cpp
-```
+# Only the Python modules (a copy step - fast)
+./build.sh --mage only --target mage_python_modules
-To build Python based algorithms run:
+# Only the Rust modules
+./build.sh --mage only --target mage_rust_modules
-```shell
-python3 setup build --lang python
+# Individual C++ modules by name
+./build.sh --mage only --target map text
```
-The script will generate a `dist` directory with all the needed files.
-
-It will also copy the contents of the newly created `dist` directory to
-`/usr/lib/memgraph/query_modules`. Memgraph loads algorithms and modules from
-this directory.
-
-If something isn't installed properly, the `setup` script will stop the
-installation process. If you have any questions, contact us on
+If something isn't set up properly, the build will stop with an error. If you
+have any questions, contact us on
**[Discord](https://discord.gg/memgraph).**
{Start a Memgraph instance
}
diff --git a/pages/custom-query-modules.mdx b/pages/custom-query-modules.mdx
index 2812a598c..8ac636c1a 100644
--- a/pages/custom-query-modules.mdx
+++ b/pages/custom-query-modules.mdx
@@ -89,14 +89,14 @@ Then, select a language you want to develop in.
{Develop a query
}
- When developing with Mage, take a look at the basis of developed [algorithms and utility procedures](https://github.com/memgraph/memgraph/tree/master/mage) and extend based on that.
+ When developing with Mage, take a look at the basis of developed [algorithms and utility procedures](https://github.com/memgraph/memgraph/tree/master/src/mage) and extend based on that.
If you are not extending the existing query modules, you can start from scratch by following these guides or using the API docs and knowledge to develop your query modules.
- [Python](/custom-query-modules/python),
- [C](/custom-query-modules/c),
- [C++](/custom-query-modules/cpp),
- - [Rust](https://github.com/memgraph/memgraph/tree/master/mage/rust/rsmgp-example).
+ - [Rust](https://github.com/memgraph/memgraph/tree/master/src/mage/rust/rsmgp-example).
{Start the MAGE container
}
@@ -210,14 +210,14 @@ Then, select a language you want to develop in.
{Develop modules
}
- When developing with Mage, take a look at the basis of developed [algorithms and utility procedures](https://github.com/memgraph/memgraph/tree/master/mage) and extend based on that.
+ When developing with Mage, take a look at the basis of developed [algorithms and utility procedures](https://github.com/memgraph/memgraph/tree/master/src/mage) and extend based on that.
If you are not extending the existing query modules, you can start from scratch by following these guides or using the API docs and knowledge to develop your query modules.
- [Python](/custom-query-modules/python),
- [C](/custom-query-modules/c),
- [C++](/custom-query-modules/cpp),
- - [Rust](https://github.com/memgraph/memgraph/tree/master/mage/rust/rsmgp-example).
+ - [Rust](https://github.com/memgraph/memgraph/tree/master/src/mage/rust/rsmgp-example).
{Create the `dev` image
}
@@ -279,106 +279,54 @@ Then, select a language you want to develop in.
- {Install dependencies
}
-
- To build from source, you will need:
- - Python3
- - Make
- - CMake
- - Clang
- - UUID
- - [Rust and Cargo](https://doc.rust-lang.org/cargo/getting-started/installation.html)
-
- {Set up the machine
}
-
- Run the following commands:
-
- ```bash
- PY_VERSION="$(python3 --version | cut -d' ' -f2 | cut -d'.' -f1,2)"
- sudo apt update
- sudo apt install -y \
- libcurl4 \
- libpython${PY_VERSION} \
- libssl-dev \
- openssl \
- build-essential \
- cmake \
- curl \
- g++ \
- python3 \
- python3-pip \
- python3-setuptools \
- python3-dev \
- clang \
- git \
- libboost-dev \
- ninja-build \
- --no-install-recommends
- ```
-
- {Download the Memgraph source code
}
-
- Clone the [Memgraph source code](https://github.com/memgraph/memgraph) from GitHub:
+ {Set up the build environment
}
- ```
- git clone https://github.com/memgraph/memgraph.git && cd memgraph/mage
- ```
+ Follow the [Build from source
+ guide](/advanced-algorithms/install-mage#build-from-source-linux) to clone
+ the Memgraph repository, install the build dependencies, set up the
+ toolchain and install the Rust and Python dependencies.
- {Run the `setup` script
}
+ {Build MAGE
}
- Run the following command:
+ Run the following commands from the root of the repository:
```shell
- python3 setup build -p /usr/lib/memgraph/query_modules
+ source /opt/toolchain-v7/activate
+ ./build.sh --mage only
```
- The script will generate a `dist` directory with all the necessary files.
-
- It will also copy the contents of the newly created `dist` directory to
- `/usr/lib/memgraph/query_modules`. Memgraph loads algorithms and modules from
- this directory.
-
- If something isn't installed properly, the `setup` script will stop the
- installation process. If you have any questions, contact us on
- **[Discord](https://discord.gg/memgraph).**
-
- {Set a different `query_modules` directory
}
+ The built query modules land in `build/mage/dist`.
- The `setup` script can set your local `mage/dist` directory or any other
- directory as the default one by changing the value of the
- `--query-modules-directory` flag in the `/etc/memgraph/memgraph.conf`,
- Memgraph's configuration file.
+ {Install the query modules
}
- By setting the `/mage/dist` as the default directory you don't need to copy
- `*.so` and `*.py` files from the `mage/dist` directory
- to`/usr/lib/memgraph/query_modules` every time you run `build`:
+ Install the modules to `/usr/lib/memgraph/query_modules`, the directory
+ Memgraph loads query modules from:
- ```
- python3 setup modules_storage
+ ```shell
+ sudo cmake --install build --component mage --prefix /usr
```
- By setting `` as the default one, Memgraph will be looking for
- query modules inside ``, instead of `/usr/lib/memgraph/query_modules`:
+
- ```
- python3 setup modules_storage -p
- ```
+ While developing, you can skip the install step on every rebuild by
+ pointing Memgraph directly at the build output instead: set
+ `--query-modules-directory=/build/mage/dist` in
+ `/etc/memgraph/memgraph.conf` (or on the command line).
- Don't forget to copy the aforementioned files from `mage/dist` to
- ``.
+
{Develop modules
}
- When developing with Mage, take a look at the basis of developed [algorithms and utility procedures](https://github.com/memgraph/memgraph/tree/master/mage) and extend based on that.
+ When developing with Mage, take a look at the basis of developed [algorithms and utility procedures](https://github.com/memgraph/memgraph/tree/master/src/mage) and extend based on that.
If you are not extending the existing query modules, you can start from scratch by following these guides or using the API docs and knowledge to develop your query modules.
- [Python](/custom-query-modules/python),
- [C](/custom-query-modules/c),
- [C++](/custom-query-modules/cpp),
- - [Rust](https://github.com/memgraph/memgraph/tree/master/mage/rust/rsmgp-example).
+ - [Rust](https://github.com/memgraph/memgraph/tree/master/src/mage/rust/rsmgp-example).
- {Start Memgraph
}
+ {Rebuild and load your changes
}
Make sure your Memgraph instance is running:
@@ -386,12 +334,18 @@ Then, select a language you want to develop in.
sudo systemctl status memgraph.service
```
- {Copy the query module
}
-
- Copy your developed query module to `/usr/lib/memgraph/query_modules` or your directory if you changed the default location of query modules:
+ After changing a module, rebuild and reinstall (the install step isn't
+ needed if you pointed `--query-modules-directory` at `build/mage/dist`):
```shell
- python3 setup build -p /usr/lib/memgraph/query_modules
+ ./build.sh --mage only --dev
+ sudo cmake --install build --component mage --prefix /usr
+ ```
+
+ Then reload the query modules in a running instance:
+
+ ```cypher
+ CALL mg.load_all();
```
diff --git a/pages/custom-query-modules/contributing.mdx b/pages/custom-query-modules/contributing.mdx
index 9e8d4fedb..0561f6705 100644
--- a/pages/custom-query-modules/contributing.mdx
+++ b/pages/custom-query-modules/contributing.mdx
@@ -18,7 +18,7 @@ Here are links to Memgraph and MAGE, which are both opened and ready to receive
and your contribution:
- [**Memgraph**](https://github.com/memgraph/memgraph)
-- [**MAGE**](https://github.com/memgraph/memgraph/tree/master/mage) (NOTE: MAGE now lives in the Memgraph repository)
+- [**MAGE**](https://github.com/memgraph/memgraph/tree/master/src/mage) (NOTE: MAGE now lives in the Memgraph repository)
Feel free to create an issue or open a pull request on our Github
repo to speed up the development.
diff --git a/pages/custom-query-modules/cpp/cpp-example.mdx b/pages/custom-query-modules/cpp/cpp-example.mdx
index 8604315c4..a3bed2132 100644
--- a/pages/custom-query-modules/cpp/cpp-example.mdx
+++ b/pages/custom-query-modules/cpp/cpp-example.mdx
@@ -1101,7 +1101,7 @@ cpp
To make sure the module is linked with the rest of MAGE code, we need to add a
`CMakeLists.txt` script in the new directory and register our module in the
`cpp/CMakelists.txt` script as well. Refer to the existing scripts in MAGE’s
-[query modules](https://github.com/memgraph/memgraph/tree/master/mage/cpp).
+[query modules](https://github.com/memgraph/memgraph/tree/master/src/mage/cpp).
diff --git a/pages/getting-started/packaging-memgraph.mdx b/pages/getting-started/packaging-memgraph.mdx
index faa373d84..2c0e37aef 100644
--- a/pages/getting-started/packaging-memgraph.mdx
+++ b/pages/getting-started/packaging-memgraph.mdx
@@ -9,10 +9,11 @@ import { Steps } from 'nextra/components'
# Package Memgraph
This guide will show you how to package Memgraph for one of out supportedLinux distributions.
-There are two main ways to package Memgraph:
+There are three main ways to package Memgraph:
- [Using the `mgbuild.sh` script](#using-the-mgbuildsh-script), which builds Memgraph in a Docker container. (Recommended)
-- [Using CPack](#using-cpack), which builds Memgraph using CMake.
+- [Using the `package.sh` script](#using-the-packagesh-script), which packages a local build directory.
+- [Using CPack](#using-cpack), which invokes CPack manually.
The distributions of Linux currently supported by Memgraph are and their associated `OS` environment variable:
@@ -114,12 +115,41 @@ sudo apt install ./output/memgraph__.deb
+## Using the `package.sh` script
+
+After following the build instructions using
+[`build.sh`](/getting-started/build-memgraph-from-source#use-buildsh-script), or
+[`conan` and `cmake`](/getting-started/build-memgraph-from-source#use-conan-and-cmake), the
+`package.sh` script in the repository root packages the build directory directly on the host.
+It takes a target and a package format:
+
+```bash
+source /opt/toolchain-v7/activate
+./package.sh memgraph deb
+```
+
+- `TARGET` is one of `memgraph` (the `memgraph` + `memgraph-debuginfo` packages), `mage`
+ (the `memgraph-mage` package, plus `memgraph-mage-debuginfo` when the build used
+ `--split-debug`), or `all` (everything the build was configured for).
+- `FORMAT` is `deb` or `rpm`.
+
+For example, to package the MAGE query modules as an RPM from a
+`./build.sh --mage only` build:
+
+```bash
+./package.sh mage rpm
+```
+
+The script checks that the build directory is actually configured for the requested target
+(e.g. packaging `mage` requires a build with `--mage on` or `--mage only`), selects the right
+CPack components, and verifies the expected number of packages was produced. The packages are
+written to `build/output/`. Use `--build-dir DIR` to package from a non-default build
+directory.
+
## Using CPack
-After following the build instructions using
-[`build.sh`](/getting-started/build-memgraph-from-source#use-buildsh-script), or
-[`conan` and `cmake`](/getting-started/build-memgraph-from-source#use-conan-and-cmake), one can use
-CPackto build a Memgraph package for a Linux distribution.
+`package.sh` is a thin wrapper around CPack — if you need full control, you can also invoke
+CPack manually.
Prior to packaging, create the output directory: