diff --git a/pages/advanced-algorithms/available-algorithms/algo.mdx b/pages/advanced-algorithms/available-algorithms/algo.mdx
index 0039dd34b..7a58746dc 100644
--- a/pages/advanced-algorithms/available-algorithms/algo.mdx
+++ b/pages/advanced-algorithms/available-algorithms/algo.mdx
@@ -42,7 +42,8 @@ filters.
{
Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
- `start_node: Node` ➡ The first node of the returned path.
- `end_node: Node` ➡ The final node of the returned path.
- `relationship_types: List[String]` ➡ A list of relationship filters, explained below.
@@ -103,7 +104,9 @@ including any self-referencing relationships.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `nodes: List[Node]` ➡ A list of all the input nodes.
{ Output:
}
@@ -146,7 +149,8 @@ In case you don't want to use geospatial types, or you want a custom heuristic,
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
- `start: Node` ➡ The starting node.
- `target: Node` ➡ The target node.
- `config: Map` ➡ The configuration map.
diff --git a/pages/advanced-algorithms/available-algorithms/betweenness_centrality.mdx b/pages/advanced-algorithms/available-algorithms/betweenness_centrality.mdx
index 446ed9c89..d60f5a7a5 100644
--- a/pages/advanced-algorithms/available-algorithms/betweenness_centrality.mdx
+++ b/pages/advanced-algorithms/available-algorithms/betweenness_centrality.mdx
@@ -52,7 +52,9 @@ The procedure returns the betweenness centrality values.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `directed: boolean (default=True)` ➡ If `False` the direction of the relationships is ignored.
- `normalized: boolean (default=True)` ➡ If `True` the betweenness values are normalized by
`2/((n-1)(n-2))` for graphs, and `1/((n-1)(n-2))` for directed graphs where
diff --git a/pages/advanced-algorithms/available-algorithms/biconnected_components.mdx b/pages/advanced-algorithms/available-algorithms/biconnected_components.mdx
index 519f91c61..61d1e0806 100644
--- a/pages/advanced-algorithms/available-algorithms/biconnected_components.mdx
+++ b/pages/advanced-algorithms/available-algorithms/biconnected_components.mdx
@@ -46,7 +46,9 @@ The procedure finds biconnected components.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
{ Output:
}
diff --git a/pages/advanced-algorithms/available-algorithms/bipartite_matching.mdx b/pages/advanced-algorithms/available-algorithms/bipartite_matching.mdx
index 6f8e00a06..c9992a468 100644
--- a/pages/advanced-algorithms/available-algorithms/bipartite_matching.mdx
+++ b/pages/advanced-algorithms/available-algorithms/bipartite_matching.mdx
@@ -48,7 +48,9 @@ relationship connects nodes between these sets.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
{ Output:
}
diff --git a/pages/advanced-algorithms/available-algorithms/bridges.mdx b/pages/advanced-algorithms/available-algorithms/bridges.mdx
index eadda75b5..d9054e7fb 100644
--- a/pages/advanced-algorithms/available-algorithms/bridges.mdx
+++ b/pages/advanced-algorithms/available-algorithms/bridges.mdx
@@ -45,7 +45,9 @@ creates two disjoint graph components.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
{ Output:
}
diff --git a/pages/advanced-algorithms/available-algorithms/community_detection.mdx b/pages/advanced-algorithms/available-algorithms/community_detection.mdx
index ce70b59fd..27d0e6c83 100644
--- a/pages/advanced-algorithms/available-algorithms/community_detection.mdx
+++ b/pages/advanced-algorithms/available-algorithms/community_detection.mdx
@@ -56,10 +56,12 @@ Computes graph communities using the Louvain method.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
-- `weight: string (default=null)` ➡ Specifies the default relationship weight. If not set,
- the algorithm uses the `weight` relationship attribute when present and otherwise
- treats the graph as unweighted.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
+- `weight: string (default=null)` ➡ Specifies the name of the property containing the edge weight. Users can set their own weight property;
+if this property is not specified, the algorithm uses the `weight` edge attribute by default. If neither is set, each edge's weight defaults to `1`.
+To utilize a custom weight property, the user must set the `--storage-properties-on-edges=true` flag.
- `coloring: boolean (default=False)` ➡ If set, use the graph coloring heuristic for effective parallelization.
- `min_graph_shrink: integer (default=100000)` ➡ The graph coarsening optimization stops upon shrinking the graph to this many nodes.
- `community_alg_threshold: double (default=0.000001)` ➡ Controls how long the algorithm iterates. When the gain in modularity
@@ -72,7 +74,7 @@ Computes graph communities using the Louvain method.
{ Output:
}
-- `node: Vertex` ➡ Graph node.
+- `node: Vertex` ➡ A graph node for which the algorithm was performed and returned as part of the results.
- `community_id: integer` ➡ Community ID. Defaults to $-1$ if the node does not belong to any community.
{ Usage:
}
@@ -90,12 +92,14 @@ Computes graph communities over a subgraph using the Louvain method.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `subgraph_nodes: List[Node]` ➡ List of nodes in the subgraph.
- `subgraph_relationships: List[Relationship]` ➡ List of relationships in the subgraph.
-- `weight: str (default=null)` ➡ Specifies the default relationship weight. If not set,
- the algorithm uses the `weight` relationship attribute when present and otherwise
- treats the graph as unweighted.
+- `weight: string (default=null)` ➡ Specifies the name of the property containing the edge weight. Users can set their own weight property;
+if this property is not specified, the algorithm uses the `weight` edge attribute by default. If neither is set, each edge's weight defaults to `1`.
+To utilize a custom weight property, the user must set the `--storage-properties-on-edges=true` flag.
- `coloring: bool (default=False)` ➡ If set, use the graph coloring heuristic for effective parallelization.
- `min_graph_shrink: int (default=100000)` ➡ The graph coarsening optimization stops upon shrinking the graph to this many nodes.
- `community_alg_threshold: double (default=0.000001)` ➡ Controls how long the algorithm iterates. When the gain in modularity
@@ -108,7 +112,7 @@ Computes graph communities over a subgraph using the Louvain method.
{ Output:
}
-- `node: Vertex` ➡ Graph node.
+- `node: Vertex` ➡ A graph node for which the algorithm was performed and returned as part of the results.
- `community_id: int` ➡ Community ID. Defaults to $-1$ if the node does not belong to any community.
{ Usage:
}
diff --git a/pages/advanced-algorithms/available-algorithms/community_detection_online.mdx b/pages/advanced-algorithms/available-algorithms/community_detection_online.mdx
index 3b18fffed..6f7131224 100644
--- a/pages/advanced-algorithms/available-algorithms/community_detection_online.mdx
+++ b/pages/advanced-algorithms/available-algorithms/community_detection_online.mdx
@@ -65,7 +65,9 @@ the user should check if that is indeed the case.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `directed: boolean (default=False)` ➡ Specifies whether the graph is directed. If not set,
the graph is treated as undirected.
- `weighted: boolean (default=False)` ➡ Specifies whether the graph is weighted. If not set,
@@ -88,7 +90,7 @@ the user should check if that is indeed the case.
{ Output:
}
-- `node: Vertex` ➡ Graph node.
+- `node: Vertex` ➡ A graph node for which the algorithm was performed and returned as part of the results.
- `community_id: integer` ➡ Community ID. If the node is not associated with any
community, defaults to $-1$.
@@ -108,11 +110,13 @@ are none, defaults to calling `set()` with default parameters.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
{ Output:
}
-- `node: Vertex` ➡ Graph node.
+- `node: Vertex` ➡ A graph node for which the algorithm was performed and returned as part of the results.
- `community_id: integer` ➡ Community ID. Defaults to $-1$ if the node does not belong to any community.
{ Usage:
}
@@ -131,7 +135,9 @@ changes applied in the latest graph update and returns the results.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `createdVertices: mgp.List[mgp.Vertex]` ➡ Nodes created in the latest graph
update.
- `createdEdges: mgp.List[mgp.Edge]` ➡ Relationships created in the latest graph update.
@@ -144,7 +150,7 @@ changes applied in the latest graph update and returns the results.
{ Output:
}
-- `node: Vertex` ➡ Graph node.
+- `node: Vertex` ➡ A graph node for which the algorithm was performed and returned as part of the results.
- `community_id: integer` ➡ Community ID. If the node is not associated with any
community, defaults to $-1$.
@@ -182,7 +188,9 @@ Resets the algorithm to its initial state.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
{ Output:
}
diff --git a/pages/advanced-algorithms/available-algorithms/create.mdx b/pages/advanced-algorithms/available-algorithms/create.mdx
index c3050da1b..32e9aadd4 100644
--- a/pages/advanced-algorithms/available-algorithms/create.mdx
+++ b/pages/advanced-algorithms/available-algorithms/create.mdx
@@ -43,7 +43,9 @@ and sent as a list or map.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `label: List[string]` ➡ A list of all the labels to be added to the new node.
- `props: Map` ➡ A map with key/value pairs to be added as new node's properties.
@@ -86,7 +88,9 @@ Create nodes with given labels and properties. For each property map, a separate
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `label: List[string]` ➡ A list with labels of the new nodes.
- `props: List[Map]` ➡ A list of property maps for new nodes, for each map, a separate node is created.
@@ -145,7 +149,9 @@ thrown.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `nodes: any` ➡ Input node(s) - can be a node, node's ID, or a list of nodes and IDs.
- `key: string` ➡ The name of the property which is about to be set.
- `value: any` ➡ The new value of the property.
@@ -200,7 +206,9 @@ Adds the provided properties to the node(s).
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `input_nodes: Any` ➡ Input node(s) - can be a node, node's ID, or a list of nodes and IDs.
- `input_keys: List[string]` ➡ A list of all the property keys to be added to the node(s).
- `input_values: List[Any]` ➡ A list of all the corresponding property values to be added to the node(s).
@@ -261,7 +269,9 @@ thrown.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `nodes: any` ➡ Input node(s) - can be a node, node's ID, or a list of nodes and IDs.
- `keys: List[string]` ➡ A list of properties which are to be removed.
@@ -312,7 +322,9 @@ Adds the provided property to the relationship(s).
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `input_rel: Any` ➡ Input relationship(s) - can be a relationship, elationship's ID, or a list of relationships and IDs.
- `input_key: string` ➡ Property key that needs to be added to the relationship(s).
- `input_value: Any` ➡ The corresponding property value that needs to be added to the relationship(s).
@@ -357,7 +369,9 @@ Removes the provided labels from the node(s).
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `nodes: Any` ➡ Input node(s) - can be a node, node's ID or a list of nodes and nodes' IDs.
- `label: List[string]` ➡ A list of labels to be removed (if exist) from the nodes(s).
@@ -402,7 +416,9 @@ to.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `from: Node` ➡ The tail node.
- `relationshipType: string` ➡ The relationship type.
- `properties: Map` ➡ Properties of the new relationship(s).
@@ -451,7 +467,9 @@ relationships. If the property already exists it is modified.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `relationships: int|Relationship|List[int|Relationship]` ➡ Relationships that need to be modified are indicated using their object or ID.
- `keys: List[string]` ➡ A list of all the property keys that need to be added to the relationship(s).
- `values: List[Any]` ➡ A list of all the corresponding property values that need to be added to the relationship(s).
@@ -503,7 +521,9 @@ nothing happens.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `relationships: int|Relationship|List[int|Relationship]` ➡ Relationships that need to be modified.
- `keys: List[string]` ➡ A list of property names that need to be removed from the given relationships.
diff --git a/pages/advanced-algorithms/available-algorithms/cugraph.mdx b/pages/advanced-algorithms/available-algorithms/cugraph.mdx
index 7cafb2188..69d92b3de 100644
--- a/pages/advanced-algorithms/available-algorithms/cugraph.mdx
+++ b/pages/advanced-algorithms/available-algorithms/cugraph.mdx
@@ -64,7 +64,7 @@ Procedure for finding the balanced cut clustering of the graph’s nodes.
{ Output:
}
-- `node: Vertex` ➡ Graph node.
+- `node: Vertex` ➡ A graph node for which the algorithm was performed and returned as part of the results.
- `cluster: integer` ➡ Cluster of a node.
{ Usage:
}
@@ -91,7 +91,7 @@ Procedure for finding betweenness centrality scores for all nodes in the graph.
{ Output:
}
-- `node: Vertex` ➡ Graph node.
+- `node: Vertex` ➡ A graph node for which the algorithm was performed and returned as part of the results.
- `betweenness_centrality: float` ➡ Betweenness centrality score of a node.
{ Usage:
}
@@ -164,7 +164,7 @@ graphs.
{ Output:
}
-- `node: Vertex` ➡ Graph node.
+- `node: Vertex` ➡ A graph node for which the algorithm was performed and returned as part of the results.
- `hubs: float` ➡ Hub value of a node.
- `authorities: float` ➡ Authority value of a node.
@@ -197,7 +197,7 @@ Find Katz centrality scores for all nodes in the graph.
{ Output:
}
-- `node: Vertex` ➡ Graph node.
+- `node: Vertex` ➡ A graph node for which the algorithm was performed and returned as part of the results.
- `katz_centrality: float` ➡ Katz centrality score of a node.
{ Usage:
}
@@ -223,7 +223,7 @@ Partition the graph into communities using the Leiden method.
{ Output:
}
-- `node: Vertex` ➡ Graph node.
+- `node: Vertex` ➡ A graph node for which the algorithm was performed and returned as part of the results.
- `partition: integer` ➡ Partition of a node.
{ Usage:
}
@@ -250,7 +250,7 @@ Partition the graph into communities using the Louvain method.
{ Output:
}
-- `node: Vertex` ➡ Graph node.
+- `node: Vertex` ➡ A graph node for which the algorithm was performed and returned as part of the results.
- `partition: integer` ➡ Partition of a node.
{ Usage:
}
@@ -284,7 +284,7 @@ Find PageRank scores for all nodes in the graph.
{ Output:
}
-- `node: Vertex` ➡ Graph node.
+- `node: Vertex` ➡ A graph node for which the algorithm was performed and returned as part of the results.
- `pagerank: float` ➡ PageRank score of a node.
{ Usage:
}
@@ -322,7 +322,7 @@ Find personalized PageRank scores for all nodes in the graph.
{ Output:
}
-- `node: Vertex` ➡ Graph node.
+- `node: Vertex` ➡ A graph node for which the algorithm was performed and returned as part of the results.
- `pagerank: float` ➡ PageRank score of a node.
{ Usage:
}
@@ -356,7 +356,7 @@ Find the spectral clustering of the graph’s nodes.
{ Output:
}
-- `node: Vertex` ➡ Graph node.
+- `node: Vertex` ➡ A graph node for which the algorithm was performed and returned as part of the results.
- `cluster: integer` ➡ Cluster of a node.
{ Usage:
}
diff --git a/pages/advanced-algorithms/available-algorithms/cycles.mdx b/pages/advanced-algorithms/available-algorithms/cycles.mdx
index a0a29a9f4..e7b8993e7 100644
--- a/pages/advanced-algorithms/available-algorithms/cycles.mdx
+++ b/pages/advanced-algorithms/available-algorithms/cycles.mdx
@@ -48,7 +48,9 @@ You can execute this algorithm on [graph projections, subgraphs or portions of t
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
{ Output:
}
diff --git a/pages/advanced-algorithms/available-algorithms/degree_centrality.mdx b/pages/advanced-algorithms/available-algorithms/degree_centrality.mdx
index 4afe662bf..9faa5725c 100644
--- a/pages/advanced-algorithms/available-algorithms/degree_centrality.mdx
+++ b/pages/advanced-algorithms/available-algorithms/degree_centrality.mdx
@@ -49,7 +49,9 @@ The procedure calculates the degree centrality for each node in the graph.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `type: string (default="undirected")` ➡ Defines whether the procedure is using "in", "out", or "undirected" relationships.
@@ -73,7 +75,9 @@ The procedure calculates degree centrality for each node of the given subgraph.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `nodes: list[node]` ➡ Nodes that will be used in the algorithm.
- `relationships: list[relationship]` ➡ Relationships that will be considered for
degree calculation.
diff --git a/pages/advanced-algorithms/available-algorithms/distance_calculator.mdx b/pages/advanced-algorithms/available-algorithms/distance_calculator.mdx
index b648321d5..6bea3f8c3 100644
--- a/pages/advanced-algorithms/available-algorithms/distance_calculator.mdx
+++ b/pages/advanced-algorithms/available-algorithms/distance_calculator.mdx
@@ -48,7 +48,9 @@ Measures a distance from the start node to the end node.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
* `start: Vertex` ➡ Starting point to measure distance. Required to have `lng` and `lat` properties.
* `end: Vertex` ➡ Ending point to measure distance. Required to have `lng` and `lat` properties.
* `metrics: string` ➡ Can be either "m" or "km". These stand for meters and kilometers respectively.
@@ -78,7 +80,9 @@ the nodes from an end list.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
* `start_points: List[Vertex]` ➡ Starting points to measure distance collected in a list. Required to have `lng` and `lat` properties. Must be of the same size as `end_points`.
* `end_points: List[Vertex]` ➡ Ending points to measure distance collected in a list. Required to have `lng` and `lat` properties. Must be of the same size as `start_points`.
* `metrics: string` ➡ Can be either "m" or "km". These stand for metres and kilometres respectively.
diff --git a/pages/advanced-algorithms/available-algorithms/elasticsearch_synchronization.mdx b/pages/advanced-algorithms/available-algorithms/elasticsearch_synchronization.mdx
index 3b7f5a948..13989744f 100644
--- a/pages/advanced-algorithms/available-algorithms/elasticsearch_synchronization.mdx
+++ b/pages/advanced-algorithms/available-algorithms/elasticsearch_synchronization.mdx
@@ -74,7 +74,9 @@ certificate**.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `elastic_url: string` -> URL for connecting to the Elasticsearch instance.
- `ca_certs: string` -> Path to the certificate file.
- `elastic_user: string` -> The user trying to connect to Elasticsearch.
@@ -100,7 +102,9 @@ The procedure used for creating Elasticsearch indexes.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `index_name: string` -> Name of the index that needs to be created.
- `schema_path: string` -> Path to the schema from where the index will be loaded.
- `schema_parameters: Dict[string, Any]`
@@ -134,7 +138,9 @@ documents.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `node_index: string` -> The name of the **node index**. Can be used for both **streaming and parallel bulk**.
- `edge_index: string` -> The name of the **edge index**. Can be used for both **streaming and parallel bulk**.
- `thread_count: int` -> **Size of the threadpool** to use for the bulk requests.
@@ -171,7 +177,9 @@ it shouldn't be called by a user explicitly.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `createdObjects: List[Dict[string, Object]]` -> Objects that are captured by a create trigger.
- `node_index: string` -> The name of the **node index**. Can be used for both **streaming and parallel bulk**.
- `edge_index: string` -> The name of the **edge index**. Can be used for both **streaming and parallel bulk**.
@@ -210,7 +218,9 @@ specified differently, all documents will be reindexed.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `updatatedObjects: List[Dict[string, Any]]` -> List of all objects that **were updated and then sent as arguments to this procedure** with the help of the update trigger.
- `source_index: Union[string, List[string]])` -> Identifies **source index (or more of them)** from where documents need to be indexed.
- `target_index: string` -> Identifies **target index** to where documents need to be indexed.
@@ -240,7 +250,9 @@ query. Supports pagination.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `index_name: string` -> Name of the index.
- `query: string` -> Query written as JSON.
- `scroll: int` -> Specifies how long **a consistent view** of the index should be maintained for scrolled search.
@@ -279,7 +291,9 @@ aggregations.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `index_name: string` -> A name of the index.
- `query: string` -> Query written as JSON.
- `size: int` -> Size (per shard) of the batch sent at each iteration.
diff --git a/pages/advanced-algorithms/available-algorithms/export_util.mdx b/pages/advanced-algorithms/available-algorithms/export_util.mdx
index 3df56e5f2..674ae3025 100644
--- a/pages/advanced-algorithms/available-algorithms/export_util.mdx
+++ b/pages/advanced-algorithms/available-algorithms/export_util.mdx
@@ -46,7 +46,9 @@ The procedure exports the graph database to a local file.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `path: string` ➡ Path to the JSON file containing the exported graph database.
- `config: Map` ➡ Map of the configuration with the following keys:
- `stream: boolean (default=False)` ➡ Is the data exported to a stream rather than a file.
@@ -117,7 +119,9 @@ Exports the given nodes and relationships to the JSON format. All nodes from the
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `nodes: List[Node]` ➡ The list of nodes that need to be exported.
- `relationships: List[Relationship]` ➡ The list of relationships that need to be exported.
- `path: string` ➡ The path to the JSON file containing the exported data.
@@ -137,7 +141,9 @@ stream.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `path: string` ➡ The path to the Cypher file containing the exported graph database.
- `config: Map` ➡ The map of the configuration with the following keys:
- `stream: boolean (default= False)` ➡ Is the data exported to a stream rather than a file.
@@ -157,7 +163,9 @@ The procedure exports query results to a CSV file.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `query: string` ➡ The query from which the results will be saved to a CSV file.
- `file_path: string` ➡ The path to the CSV file where the query results will be exported.
- `stream: boolean (default=False)` ➡ Will the procedure return a stream of query results in CSV format rather than a file.
@@ -229,7 +237,9 @@ file.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `nodes_list: List[Node]` ➡ The list of nodes that will be exported.
- `relationships_list: List[Relationship]` ➡ The list of relationships that will be exported.
- `path: string (default="./exported_file.csv")` ➡ The path where the exported file will be saved, ending with the filename, for example, `folder_outer/folder/file.csv`.
diff --git a/pages/advanced-algorithms/available-algorithms/gnn_link_prediction.mdx b/pages/advanced-algorithms/available-algorithms/gnn_link_prediction.mdx
index d3fc5ec71..7a1457247 100644
--- a/pages/advanced-algorithms/available-algorithms/gnn_link_prediction.mdx
+++ b/pages/advanced-algorithms/available-algorithms/gnn_link_prediction.mdx
@@ -206,7 +206,9 @@ The `train` procedure is used to train a model and it doesn't take any input par
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
{ Output:
}
@@ -232,7 +234,9 @@ from the last training. The results are in the same format as the results of the
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
{ Output:
}
@@ -259,7 +263,9 @@ edge between two vertices and the user wants to check the model’s evaluation.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `src_vertex: mgp.Vertex` -> Source vertex of the edge.
- `dest_vertex: mgp.Vertex` -> Destination vertex of the edge.
@@ -292,7 +298,9 @@ example.)
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `src_vertex: mgp.Vertex` → Source node.
- `dest_vertices: List[mgp.Vertex]` → Destination nodes. If they are not of the same type, an exception is thrown.
- `k: int` → Number of edges to recommend.
@@ -324,7 +332,9 @@ context will be loaded from the default parameter specified in the
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `path: str` → Path to the folder where the model and the predictor are saved.
{ Output:
}
@@ -349,7 +359,9 @@ implementation reasons.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
{ Output:
}
diff --git a/pages/advanced-algorithms/available-algorithms/gnn_node_classification.mdx b/pages/advanced-algorithms/available-algorithms/gnn_node_classification.mdx
index 8df46a587..9166b32c6 100644
--- a/pages/advanced-algorithms/available-algorithms/gnn_node_classification.mdx
+++ b/pages/advanced-algorithms/available-algorithms/gnn_node_classification.mdx
@@ -85,7 +85,9 @@ place.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `params: (mgp.Map, optional)`: User defined parameters from query module. Defaults to {}.
| Name | Type | Default | Description |
@@ -139,7 +141,9 @@ model, optimizer, and criterion. Afterward, it performs training.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `num_epochs (int, optional)` ➡ Number of epochs (default:100).
{ Output:
}
@@ -166,7 +170,9 @@ Use the `get_training_data()` procedure to get logged data from training.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
{ Output:
}
@@ -192,7 +198,9 @@ are already 5 models in the directory, the oldest model is deleted.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
{ Output:
}
@@ -215,7 +223,9 @@ This `load_model()` procedure loads the model from the specified folder.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `num (int, optional)` ➡ Ordinal number of model to load from the default path on the disc (default: 0, i.e., newest model).
{ Output:
}
@@ -240,7 +250,9 @@ validation process.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `vertex: mgp.Vertex`➡ Prediction node.
{ Output:
}
@@ -263,7 +275,9 @@ This function resets all variables to default values.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
{ Output:
}
diff --git a/pages/advanced-algorithms/available-algorithms/graph_analyzer.mdx b/pages/advanced-algorithms/available-algorithms/graph_analyzer.mdx
index 5ff29fe11..395ae7252 100644
--- a/pages/advanced-algorithms/available-algorithms/graph_analyzer.mdx
+++ b/pages/advanced-algorithms/available-algorithms/graph_analyzer.mdx
@@ -62,7 +62,9 @@ The procedure analyzes the graph and returns information.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `analyses: List[string] (default=NULL)` ➡ List of analytics names to be fetched. If provided with NULL, the whole set of analytics will be included.
{ Output:
}
@@ -86,7 +88,9 @@ The procedure analyzes a subgraph and returns information.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `vertices: List[Vertex]` ➡ Subset of vertices within a graph.
- `edges: List[Edge]` ➡ Subset of relationships in a graph for which analytics will take place.
- `analyses: List[string] (default=NULL)` ➡ List of analytics names to be fetched. If provided with NULL, the whole set of analytics will be included.
diff --git a/pages/advanced-algorithms/available-algorithms/graph_coloring.mdx b/pages/advanced-algorithms/available-algorithms/graph_coloring.mdx
index ea8c2eb5a..79b7b580c 100644
--- a/pages/advanced-algorithms/available-algorithms/graph_coloring.mdx
+++ b/pages/advanced-algorithms/available-algorithms/graph_coloring.mdx
@@ -65,7 +65,9 @@ connected with a relationship don’t have the same color.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `parameters: Dict[string, Any] (default={})` ➡ A dictionary that specifies the algorithm configuration by listing [parameters](#parameters).
- `edge_property: string (default=weight)` ➡ Relationship property that stores the relationship weight. Any relationship attribute not present defaults to 1.
@@ -90,7 +92,9 @@ connected with a relationship don’t have the same color.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `vertices: List[Vertex]` ➡ List of vertices in the subgraph.
- `edges: List[Edge]` ➡ List of relationships in the subgraph.
- `parameters: Dict[string, Any] (default={})` ➡ A dictionary that specifies the algorithm configuration by listing [parameters](#parameters).
diff --git a/pages/advanced-algorithms/available-algorithms/graph_util.mdx b/pages/advanced-algorithms/available-algorithms/graph_util.mdx
index 1dcab12f6..fde07c01b 100644
--- a/pages/advanced-algorithms/available-algorithms/graph_util.mdx
+++ b/pages/advanced-algorithms/available-algorithms/graph_util.mdx
@@ -43,7 +43,9 @@ which there is a path to the input node.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `node: Vertex` ➡ The node you want to find ancestors for.
{ Output:
}
@@ -69,7 +71,9 @@ gets the relationship type from the second input parameter `edge_type`.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `nodes: List[Vertex]` ➡ List of nodes between which we want to create corresponding relationships.
- `edge_type: String` ➡ The name of the relationship that will be created between nodes.
@@ -97,7 +101,9 @@ Typically used to create a subgraph from returned nodes.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `nodes: List[Vertex]` ➡ List of nodes for which we want to find corresponding connections, i.e., relationships between them.
{ Output:
}
@@ -123,7 +129,9 @@ with an existing path from the input node.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `node: Vertex` ➡ The node for which we want to find descendants.
diff --git a/pages/advanced-algorithms/available-algorithms/igraphalg.mdx b/pages/advanced-algorithms/available-algorithms/igraphalg.mdx
index c2b2768ff..3c16f95c4 100644
--- a/pages/advanced-algorithms/available-algorithms/igraphalg.mdx
+++ b/pages/advanced-algorithms/available-algorithms/igraphalg.mdx
@@ -53,7 +53,9 @@ is a path with no repeated nodes.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `v: Vertex` ➡ Path's starting node.
- `to: Vertex` ➡ Path's ending node.
- `cutoff: int (default=-1)` ➡ Maximum length of the considered path. If negative, paths of all lengths are considered.
@@ -80,7 +82,9 @@ A *minimum spanning tree* is a subset of the relationships of a connected graph
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `weights: string (default=NULL)` ➡ Property used for relationship weights.
- `directed: bool (default=False)` ➡ If `True` the graph is directed, otherwise it's undirected.
@@ -106,7 +110,9 @@ PageRank computes a ranking of the nodes in graph G based on the structure of th
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `damping: double (default=0.85)` ➡ Damping parameter for PageRank.
- `weights: string (default="weight")` ➡ Property used as a weight. If `None`, weights are set to 1.
- `directed: bool (default=True)` ➡ If `True` the graph is directed, otherwise it's undirected.
@@ -135,7 +141,9 @@ Compute the shortest path in the graph.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `source: Vertex (default=NULL)` ➡ Path's starting node.
- `target: Vertex (default=NULL)` ➡ Path's ending node.
- `weights: string (default=NULL)` ➡ If `None`, every relationship has
@@ -166,7 +174,9 @@ Compute the shortest path length in the graph.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `source: Vertex (default=NULL)` ➡ Path's starting node.
- `target: Vertex (default=NULL)` ➡ Path's ending node.
- `weights: string (default=NULL)` ➡ If `None`, every relationship has
@@ -200,7 +210,9 @@ that `u` appears before `v` in the topological sort order.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `mode: string (default="out")` ➡ Specifies how to use the direction of the
relationships. For `out`, the sorting order ensures that each node comes
before all nodes to which it has relationships, so nodes with no incoming
@@ -228,7 +240,9 @@ The maximum flow problem consists of finding a flow through a graph such that it
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `source: Vertex` ➡ Source node from which the maximum flow is calculated.
- `target: Vertex` ➡ Sink node to which the max flow is calculated.
- `capacity: string (default="weight")` ➡ Relationship property which is used as the flow capacity of the relationship.
@@ -254,7 +268,9 @@ Minimum cut calculates the minimum st-cut between two vertices in a graph.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `source: Vertex` ➡ Source node from which the minimum cut is calculated.
- `target: Vertex` ➡ Sink node to which the minimum cut is calculated.
- `capacity: string (default="weight")` ➡ Relationship property which is used as the capacity of the relationship.
@@ -283,7 +299,9 @@ Finding community structure of a graph using the Leiden algorithm of Traag, van
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `objective_function: string (default="CPM")` ➡ Whether to use the Constant
Potts Model (CPM) or modularity. Must be either `CPM` or `modularity`.
- `weights: string (default=NULL)` ➡ If a string is present, use this property
@@ -322,7 +340,9 @@ Compute all shortest path lengths in the graph.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `weights: string (default=NULL)` ➡ If `None`, every relationship has
weight/distance/cost 1. If the value is a property name, use that property as
the relationship weight. If a relationship doesn't have a property, the value
diff --git a/pages/advanced-algorithms/available-algorithms/katz_centrality_online.mdx b/pages/advanced-algorithms/available-algorithms/katz_centrality_online.mdx
index f35609599..e992200da 100644
--- a/pages/advanced-algorithms/available-algorithms/katz_centrality_online.mdx
+++ b/pages/advanced-algorithms/available-algorithms/katz_centrality_online.mdx
@@ -75,7 +75,9 @@ Use the procedure to calculate Katz Centrality.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `alpha: double (default=0.2)` ➡ Exponential decay factor defining the walk length
importance.
- `epsilon: double (default=1e-2)` ➡ Convergence tolerance. Minimal difference in two
@@ -103,7 +105,9 @@ procedure has been called before adding changes to the graph.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
{ Output:
}
@@ -126,7 +130,9 @@ The procedure is used to update the Katz Centrality values.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `created_vertices` ➡ Vertices (nodes) that were created in the last transaction.
- `created_edges` ➡ Edges (relationships) created in a period from the last transaction.
- `deleted_vertices` ➡ Vertices (nodes) deleted from the last transaction.
diff --git a/pages/advanced-algorithms/available-algorithms/kmeans_clustering.mdx b/pages/advanced-algorithms/available-algorithms/kmeans_clustering.mdx
index 13714263f..d53ce5b8c 100644
--- a/pages/advanced-algorithms/available-algorithms/kmeans_clustering.mdx
+++ b/pages/advanced-algorithms/available-algorithms/kmeans_clustering.mdx
@@ -52,7 +52,9 @@ For each node, the `get_clusters()` procedure returns what cluster it belongs to
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `n_clusters : int` ➡ Number of clusters to be formed.
- `embedding_property : str (default: "embedding")` ➡ Node property where embeddings are stored.
- `init : str (default: "k-means")` ➡ Initialization method. If `k-means++` is selected, initial cluster centroids are sampled per an empirical probability distribution of the points’ contribution to the overall inertia. This technique speeds up convergence and is theoretically proven to be `O(logk)`-optimal.
@@ -84,7 +86,9 @@ The `set_clusters()` procedure sets to which cluster each node it belongs to by
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `n_clusters : int` ➡ Number of clusters to be formed.
- `embedding_property : str (default: "embedding")` ➡ Node property where embeddings are stored.
- `cluster_property: str (default: "cluster_id")` ➡ Node property where `cluster_id` will be stored.
diff --git a/pages/advanced-algorithms/available-algorithms/llm_util.mdx b/pages/advanced-algorithms/available-algorithms/llm_util.mdx
index 7c0bc015d..9d5ca0183 100644
--- a/pages/advanced-algorithms/available-algorithms/llm_util.mdx
+++ b/pages/advanced-algorithms/available-algorithms/llm_util.mdx
@@ -45,7 +45,9 @@ schema in a format that can be customized for later use with LLMs.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
* `output_type: str (default='prompt_ready')` ➡ By default, the graph schema
will include additional context and it will be prompt-ready. If set to 'raw',
it will produce a simpler version that can be adjusted for the prompt. The
diff --git a/pages/advanced-algorithms/available-algorithms/max_flow.mdx b/pages/advanced-algorithms/available-algorithms/max_flow.mdx
index 60573fe9a..5f01436a9 100644
--- a/pages/advanced-algorithms/available-algorithms/max_flow.mdx
+++ b/pages/advanced-algorithms/available-algorithms/max_flow.mdx
@@ -71,7 +71,9 @@ Use the `get_flow()` procedure to calculate the maximum flow.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `start_v: Vertex` ➡ Source node from which the maximum flow is calculated.
- `end_v: Vertex` ➡ Sink node to which the max flow is calculated.
- `edge_property: string (default="weight")` ➡ Relationship property which is used as the flow
@@ -98,7 +100,9 @@ The `get_paths()` procedure returns paths that are a part of the flow with the m
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `start_v: Vertex` ➡ Source node from which the maximum flow is calculated.
- `end_v: Vertex` ➡ Sink node to which the max flow is calculated.
- `edge_property: string (default="weight")` ➡ Relationship property which is used as the flow
diff --git a/pages/advanced-algorithms/available-algorithms/merge.mdx b/pages/advanced-algorithms/available-algorithms/merge.mdx
index 09b1a3ec8..c4b93e99b 100644
--- a/pages/advanced-algorithms/available-algorithms/merge.mdx
+++ b/pages/advanced-algorithms/available-algorithms/merge.mdx
@@ -42,7 +42,9 @@ and sent as a list or map.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `labels: List[string]` ➡ A list of all labels that need to be added to the new node.
- `identProps: Map` ➡ A map with key-value pairs used for identifying which nodes will be merged.
- `createProps: Map` ➡ A map with key-value pairs which represent properties of the node, when the procedure creates a new node.
diff --git a/pages/advanced-algorithms/available-algorithms/meta_util.mdx b/pages/advanced-algorithms/available-algorithms/meta_util.mdx
index ef54c55cc..e34516a37 100644
--- a/pages/advanced-algorithms/available-algorithms/meta_util.mdx
+++ b/pages/advanced-algorithms/available-algorithms/meta_util.mdx
@@ -49,7 +49,9 @@ distinct nodes, that is, a graph schema. If `include_properties` is set to
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `include_properties: bool (default=false)` ➡ If set to `true`, the graph schema will include properties count information.
{ Output:
}
diff --git a/pages/advanced-algorithms/available-algorithms/node.mdx b/pages/advanced-algorithms/available-algorithms/node.mdx
index 3ea41d086..6289e5f93 100644
--- a/pages/advanced-algorithms/available-algorithms/node.mdx
+++ b/pages/advanced-algorithms/available-algorithms/node.mdx
@@ -44,7 +44,9 @@ all distinct relationship types. Relationship types can also be directed:
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `node: Node` ➡ The given node.
- `types: List[string] (default = [])` ➡ A list of relationship types to filter by.
@@ -94,7 +96,9 @@ The procedure checks if the given node has a relationship of a specific type.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `node: Node` ➡ The target node for which the existance of a relationship type is verified.
- `pattern: List[string] (optional)` ➡ A list of relationship types that need to be checked. If the input parameter is empty, procedure will check all types of relationships.
@@ -152,7 +156,9 @@ provided below:
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `node: Node` ➡ The target node for which the existance of relationship types is verified.
- `relationships: List[string]` ➡ A list of relationship types that need to be
checked. If the input parameter is empty, procedure will check all types of
@@ -220,7 +226,9 @@ node degree.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `node: Node` ➡ The input node.
- `type: string, default = ""` ➡ Optionally, you can define the relationship type which will be counted for degree calculation.
@@ -280,7 +288,9 @@ node degree.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `node: Node` ➡ The input node.
- `type: string, default = ""` ➡ Optionally, you can define the relationship type which will be counted for degree calculation.
diff --git a/pages/advanced-algorithms/available-algorithms/node2vec.mdx b/pages/advanced-algorithms/available-algorithms/node2vec.mdx
index c82ea3de0..701a2df60 100644
--- a/pages/advanced-algorithms/available-algorithms/node2vec.mdx
+++ b/pages/advanced-algorithms/available-algorithms/node2vec.mdx
@@ -98,7 +98,9 @@ The procedure returns calculated embeddings and the corresponding list of embedd
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `is_directed : boolean` ➡ If `True`, graph is treated as directed, otherwise
it's treated as undirected
- `p : float` ➡ Return hyperparameter for calculating transition probabilities.
@@ -148,7 +150,9 @@ with the embedding values and returns the corresponding list of embeddings.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `is_directed : boolean` ➡ If `True`, graph is treated as directed, else not
directed
- `p : float` ➡ Return hyperparameter for calculating transition probabilities.
diff --git a/pages/advanced-algorithms/available-algorithms/node2vec_online.mdx b/pages/advanced-algorithms/available-algorithms/node2vec_online.mdx
index b24818400..309a6fd35 100644
--- a/pages/advanced-algorithms/available-algorithms/node2vec_online.mdx
+++ b/pages/advanced-algorithms/available-algorithms/node2vec_online.mdx
@@ -107,7 +107,9 @@ Use the procedure to sample the temporal random walks in the graph. Once the
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `half_life: integer` ➡ Half-life [seconds], used in the temporal walk probability
calculation.
- `max_length: integer` ➡ The maximum length of the sampled temporal random walks.
@@ -140,7 +142,9 @@ the parameters.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `embedding_dimension: integer` ➡ The number of dimensions in the representation of the
embedding vector.
- `learning_rate: float` ➡ The learning rate.
@@ -169,7 +173,9 @@ Use the `udpate()` procedure to (re)calculate embeddings.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `edges: mgp.List[mgp.Edge]` ➡ A list of relationships added to the graph.
Embeddings will be (re)calculated only for the starting and ending nodes of those
new relationships.
@@ -203,7 +209,9 @@ The `get()` procedure returns the node embeddings.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
{ Output:
}
diff --git a/pages/advanced-algorithms/available-algorithms/node_similarity.mdx b/pages/advanced-algorithms/available-algorithms/node_similarity.mdx
index 186bc5bc9..73a0a69a3 100644
--- a/pages/advanced-algorithms/available-algorithms/node_similarity.mdx
+++ b/pages/advanced-algorithms/available-algorithms/node_similarity.mdx
@@ -71,7 +71,9 @@ The following procedure will calculate the Jaccard similarity between all pairs
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
{ Output:
}
@@ -95,7 +97,9 @@ account pairwise similarities between two set of nodes.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `src_nodes: List[Vertex]` ➡ The first set of nodes.
- `dst_nodes: List[Vertex]` ➡ The second set of nodes.
@@ -127,7 +131,9 @@ The following procedure will calculate the overlap similarity between all pairs
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
{ Output:
}
@@ -151,7 +157,9 @@ account pairwise similarities between two set of nodes.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `src_nodes: List[Vertex]` ➡ The first set of nodes.
- `dst_nodes: List[Vertex]` ➡ The second set of nodes.
@@ -183,7 +191,9 @@ The following procedure will calculate the cosine similarity between all pairs o
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `node1: Vertex` ➡ The first node.
- `node2: Vertex` ➡ The second node.
- `property: str` ➡ The property based on which the cosine similarity will be calculated. If the property is not of the vector type, the error will be thrown.
@@ -210,7 +220,9 @@ similarities between two set of nodes.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `src_nodes: List[Vertex]` ➡ The first set of nodes.
- `dst_nodes: List[Vertex]` ➡ The second set of nodes.
- `property: str` ➡ The property based on which the cosine similarity will be calculated. If the property is not of the vector type, the error will be thrown.
diff --git a/pages/advanced-algorithms/available-algorithms/nodes.mdx b/pages/advanced-algorithms/available-algorithms/nodes.mdx
index 942c3f504..58168eacb 100644
--- a/pages/advanced-algorithms/available-algorithms/nodes.mdx
+++ b/pages/advanced-algorithms/available-algorithms/nodes.mdx
@@ -45,7 +45,9 @@ directed:
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `node: int|node|List[int|node]` ➡ The input nodes given as nodes themselves or their IDs.
- `types: List[string] (default = [])` ➡ A list of relationship types to filter by.
@@ -138,7 +140,9 @@ DELETE` query.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `nodes: int|node|List[int|node]` - Nodes to be deleted given as nodes themselves or their IDs.
{ Usage:
}
@@ -176,7 +180,9 @@ Any other syntax results in an exception.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `nodes: List[Any]` ➡ A list of input nodes. Elements of the list can be either nodes themselves or their IDs.
- `relationships: List[string]` ➡ A list of relationships to be checked.
@@ -220,7 +226,9 @@ input, essentially creating a linked list of nodes.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `nodes: List[Node]` ➡ A list of input nodes that need to be linked.
- `type: string` ➡ The type of relationship that will link two nodes.
diff --git a/pages/advanced-algorithms/available-algorithms/nxalg.mdx b/pages/advanced-algorithms/available-algorithms/nxalg.mdx
index e7812b418..3ebe0a986 100644
--- a/pages/advanced-algorithms/available-algorithms/nxalg.mdx
+++ b/pages/advanced-algorithms/available-algorithms/nxalg.mdx
@@ -67,7 +67,9 @@ Compute all simple shortest paths in the graph. A simple path is a path with no
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `source: Vertex` ➡ Starting node for the path.
- `target: Vertex` ➡ Ending node for the path.
- `weight: string (default=NULL)` ➡ If `NULL`, every relationship has
@@ -100,7 +102,9 @@ is a path with no repeated nodes.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `source: Vertex` ➡ Starting node for the path.
- `target: Vertex` ➡ Ending node for the path.
- `cutoff: List[integer] (default=NULL)` ➡ Depth to stop the search. Only paths
@@ -129,7 +133,9 @@ Returns all nodes having a path to `source` in `G`.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `source: Vertex` ➡ Starting node. Calculates all nodes that have a path to
`source`.
@@ -157,7 +163,9 @@ Centrality identifies the most important nodes within a graph.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `k: string (default=NULL)` ➡ If `k` is not `None`, use `k` node samples to
estimate betweenness. The value of `k <= n` where `n` is the number of nodes
in the graph. Higher values give a better approximation.
@@ -191,7 +199,9 @@ Iterate over relationships in a breadth-first-search starting at source.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `source: Vertex` ➡ Specify starting node for breadth-first search. This
function iterates only over relationships in the component that are reachable
from this node.
@@ -220,7 +230,9 @@ Returns an iterator of predecessors in breadth-first-search from source.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `source: Vertex` ➡ Specify starting node for breadth-first search.
- `depth_limit: integer (default=NULL)` ➡ Specify the maximum search depth.
@@ -246,7 +258,9 @@ Returns an iterator of successors in breadth-first-search from source.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `source: Vertex` ➡ Specify starting node for breadth-first search.
- `depth_limit: integer (default=NULL)` ➡ Specify the maximum search depth.
@@ -273,7 +287,9 @@ Returns an oriented tree constructed from of a breadth-first-search starting at
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `source: Vertex` ➡ Specify starting node for breadth-first search.
- `reversed: boolean (default=False)` ➡ If `True`, traverse a directed graph in
the reverse direction.
@@ -310,7 +326,9 @@ Notice that by convention a dyad is considered a biconnected component.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
{ Output:
}
@@ -337,7 +355,9 @@ relationship that does not belong to any cycle.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
* `root: Vertex (default=NULL)` ➡ A node in the graph `G`. If specified, only
the bridges in the connected components containing this node will be returned.
@@ -365,7 +385,9 @@ The *center* is the set of nodes with eccentricity equal to the radius.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
{ Output:
}
@@ -396,7 +418,9 @@ cycle or path is called a *chain*.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
* `root: Vertex[default=NULL]` ➡ Optional. A node in the graph `G`. If
specified, only the chain decomposition for the connected component containing
this node will be returned. This node indicates the root of the depth-first
@@ -429,7 +453,9 @@ any relationship intersections.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
{ Output:
}
@@ -454,7 +480,9 @@ in a graph tend to cluster together.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
* `nodes: List[Vertex] (default=NULL)` ➡ Compute clustering for nodes in this container.
* `weight: string (default=NULL)` ➡ The relationship attribute that holds the
numerical value used as a weight. If `None`, then each relationship has weight
@@ -486,7 +514,9 @@ closed walks of different lengths starting at node `u` and ending at node `v`.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
{ Output:
}
@@ -516,7 +546,9 @@ that node.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
{ Output:
}
@@ -543,7 +575,9 @@ in the graph with respect to the node degree.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
* `x: string (default="out")` ➡ The degree type for source node (directed graphs only). Can be "in" or "out".
* `y: string (default="in")` ➡ The degree type for target node (directed graphs only). Can be "in" or "out".
* `weight: string (default=NULL)` ➡ The relationship attribute that holds the
@@ -572,7 +606,9 @@ Returns all nodes reachable from `source` in `G`.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
* `source: Vertex` ➡ A node in `G`.
{ Output:
}
@@ -596,7 +632,9 @@ Returns nodes in a depth-first-search post-ordering starting at source.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
* `source: Vertex` ➡ Specify the maximum search depth.
* `depth_limit: integer (default=NULL)` ➡ Specify the maximum search depth.
@@ -621,7 +659,9 @@ Returns a dictionary of predecessors in depth-first-search from source.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
* `source: Vertex` ➡ Specify the maximum search depth.
* `depth_limit: integer (default=NULL)` ➡ Specify the maximum search depth.
@@ -647,7 +687,9 @@ Returns nodes in a depth-first-search pre-ordering starting at source.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
* `source: Vertex` ➡ Specify starting node for depth-first search and return nodes in the component reachable from this node.
* `depth_limit: integer (default=NULL)` ➡ Specify the maximum search depth.
@@ -672,7 +714,9 @@ Returns a dictionary of successors in depth-first-search from source.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
* `source: Vertex` ➡ Specify starting node for depth-first search and return
nodes in the component reachable from this node.
* `depth_limit: integer (default=NULL)` ➡ Specify the maximum search depth.
@@ -699,7 +743,9 @@ Returns an oriented tree constructed from a depth-first-search from source.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
* `source: Vertex` ➡ Specify starting node for depth-first search.
* `depth_limit: integer (default=NULL)` ➡ Specify the maximum search depth.
@@ -726,7 +772,9 @@ The diameter is the maximum eccentricity.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
{ Output:
}
@@ -752,7 +800,9 @@ that node.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
* `start: Vertex` ➡ The start node of dominance computation.
{ Output:
}
@@ -780,7 +830,9 @@ that every node not in `D` is adjacent to at least one member of `D`.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
* `start: Vertex` ➡ Node to use as a starting point for the algorithm.
{ Output:
}
@@ -807,7 +859,9 @@ all relationships are generated.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
* `source: Vertex` ➡ The node from which the traversal begins. If `None`, then a
source is chosen arbitrarily and repeatedly until all relationships from each
node in the graph are searched.
@@ -852,7 +906,9 @@ all relationships are generated.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
* `source: Vertex (default=NULL)` ➡ The node from which the traversal begins. If
`None`, then a source is chosen arbitrarily and repeatedly until all
relationships from each node in the graph are searched.
@@ -902,7 +958,9 @@ suffer from recursion depth issues.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
{ Output:
}
@@ -928,7 +986,9 @@ relationships is determined by `orientation`.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
* `source: List[Vertex] (default=NULL)` ➡ The node from which the traversal
begins. If `None`, then a source is chosen arbitrarily and repeatedly until
all relationships from each node in the graph are searched.
@@ -974,7 +1034,9 @@ in cycles in a directed graph.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
* `weight: string (default=NULL)` ➡ Attribute to use for node weights. If
`None`, the weight defaults to 1.
@@ -1001,7 +1063,9 @@ efficiency of all pairs of nodes.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
{ Output:
}
@@ -1026,7 +1090,9 @@ in which nodes are colored.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
* `strategy` ➡ The parameter `function(G,colors)` is a function (or a string
representing a function) that provides the coloring strategy, by returning nodes
in the order they should be colored. `G` is the graph, and `colors` is a
@@ -1082,7 +1148,9 @@ RETURN node, color;
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
{ Output:
}
@@ -1104,7 +1172,9 @@ Returns `True` if `G` has a path from `source` to `target`.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
* `source: Vertex` ➡ Starting node for the path.
* `target: Vertex` ➡ Ending node for the path.
@@ -1131,7 +1201,9 @@ does not strictly dominate any other node That dominates `n`.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
* `start: Vertex` ➡ The start node of dominance computation.
{ Output:
}
@@ -1157,7 +1229,9 @@ with maximum in-degree equal to 1.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
{ Output:
}
@@ -1182,7 +1256,9 @@ graph is not AT-free and `False` is returned.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
{ Output:
}
@@ -1207,7 +1283,9 @@ in `u` one in `v`.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
{ Output:
}
@@ -1230,7 +1308,9 @@ maximum in-degree equal to 1.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
{ Output:
}
@@ -1254,7 +1334,9 @@ the cycle).
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
{ Output:
}
@@ -1280,7 +1362,9 @@ graph distance between `x` and `y`, independently of the choice of `x` and `y`.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
{ Output:
}
@@ -1305,7 +1389,9 @@ from the set incident on it.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
* `cover: List[Edge]` ➡ A list of relationships to be checked.
{ Output:
}
@@ -1332,7 +1418,9 @@ relationship of a graph exactly once.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
{ Output:
}
@@ -1357,7 +1445,9 @@ as a single undirected relationship in a multigraph.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
{ Output:
}
@@ -1381,7 +1471,9 @@ in-neighbors and no out-neighbors.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
* `n: Vertex` ➡ A node in `G`.
{ Output:
}
@@ -1406,7 +1498,9 @@ The two graphs `G1` and `G2` must be the same type.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
* `nodes1: List[Vertex]` ➡ Nodes in `G1`.
* `edges1: List[Edge]` ➡ Edges in `G1`.
* `nodes2: List[Vertex]` ➡ Nodes in `G2`.
@@ -1441,7 +1535,9 @@ Returns `True` if `G` is semi-Eulerian.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
{ Output:
}
@@ -1466,7 +1562,9 @@ sequence is adjacent in the graph.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
* `nodes: List[Vertex]` ➡ A list of one or more nodes in the graph `G`.
{ Output:
}
@@ -1497,7 +1595,9 @@ An undirected graph is *strongly regular* if:
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
{ Output:
}
@@ -1521,7 +1621,9 @@ A *tournament* is a directed graph, with neither self-loops nor multi-relationsh
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
{ Output:
}
@@ -1546,7 +1648,9 @@ as a single undirected relationship in a multigraph.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
{ Output:
}
@@ -1570,7 +1674,9 @@ in-neighbors and no out-neighbors.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
{ Output:
}
@@ -1594,7 +1700,9 @@ Compute the Jaccard coefficient of all node pairs in `ebunch`.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
* `ebunch: List[List[Vertex]] (default=NULL)` ➡ Jaccard coefficient will be
computed for each pair of nodes given in the iterable. The pairs must be given
as 2-tuples `(u, v)` where `u` and `v` are nodes in the graph. If `ebunch` is
@@ -1624,7 +1732,9 @@ adjacent (sharing `k-1` nodes) k-cliques.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
* `k: integer` ➡ Size of the smallest clique.
* `cliques: List[List[Vertex]] (default=NULL)` ➡ Precomputed cliques (use
networkx.find_cliques(G)).
@@ -1657,7 +1767,9 @@ bounds of the number of node independent paths between two nodes.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
* `density: double (default=0.95)` ➡ Density relaxation threshold.
{ Output:
}
@@ -1685,7 +1797,9 @@ largest `k` for which the graph is k-edge-connected.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
* `k: integer` ➡ Desired relationship connectivity.
{ Output:
}
@@ -1714,7 +1828,9 @@ node.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
{ Output:
}
@@ -1736,7 +1852,9 @@ Compute the lowest common ancestor of the given pair of nodes.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
* `node1: Vertex` ➡ A node in the graph.
* `node2: Vertex` ➡ A node in the graph.
@@ -1764,7 +1882,9 @@ matching.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
{ Output:
}
@@ -1788,7 +1908,9 @@ that connects all of the vertices together without any cycles.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
* `weight: string (default="weight")` ➡ Data key to use for relationship
weights.
* `algorithm: string (default="kruskal")` ➡ The algorithm to use when finding a
@@ -1821,7 +1943,9 @@ nodes for a weighted graph.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
* `sources: List[Vertex]` ➡ Starting nodes for paths. If this is a set
containing a single node, then all paths computed by this function will start
from that node. If there are two or more nodes in the set, the computed paths
@@ -1864,7 +1988,9 @@ reachable nodes for a weighted graph.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
* `sources: List[Vertex]` ➡ Starting nodes for paths. If this is a set
containing a single node, then all paths computed by this function will start
from that node. If there are two or more nodes in the set, the computed paths
@@ -1909,7 +2035,9 @@ to `v`. If `T` is not specified, it is assumed to be the set of all nodes not in
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
* `nbunch1: List[Vertex]` ➡ List of nodes in the graph representing the `S` set of
nodes whose node boundary will be returned.
* `nbunch2: List[Vertex] (default=NULL)` ➡ List of nodes representing the `T`
@@ -1949,7 +2077,9 @@ directed and undirected graphs.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
* `source: Vertex (default=NULL)` ➡ Source node.
* `target: Vertex (default=NULL)` ➡ Target node.
@@ -1975,7 +2105,9 @@ of the size of the node boundary of `S` and the cardinality of `S`.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
* `s: List[Vertex]` ➡ A sequence of nodes in `G`.
{ Output:
}
@@ -2007,7 +2139,9 @@ by an Erdos Renyi model.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
* `k: integer (default=NULL)` ➡ The number of communities in `G`. If `k` is not
set, the function will use a default community detection algorithm to set it.
@@ -2036,7 +2170,9 @@ pages.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
* `alpha: double (default=0.85)` ➡ Damping parameter for PageRank.
* `personalization: string (default=NULL)` ➡ The “personalization vector”
consisting of a dictionary with a subset of graph nodes as a key and maps
@@ -2085,7 +2221,9 @@ to node `u`.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
* `nodes: List[Vertex]` ➡ Compute reciprocity for nodes in this container.
{ Output:
}
@@ -2111,7 +2249,9 @@ Compute shortest paths in the graph.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
* `source: Vertex (default=NULL)` ➡ Starting node for the path. If not
specified, compute shortest path lengths using all nodes as source nodes.
* `target: Vertex (default=NULL)` ➡ Ending node for the path. If not specified,
@@ -2155,7 +2295,9 @@ Compute shortest path lengths in the graph.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
* `source: Vertex (default=NULL)` ➡ Starting node for the path. If not
specified, compute shortest path lengths using all nodes as source nodes.
* `target: Vertex (default=NULL)` ➡ Ending node for the path. If not specified,
@@ -2202,7 +2344,9 @@ algorithm. There may be better algorithms for some cases.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
{ Output:
}
@@ -2225,7 +2369,9 @@ Returns nodes in strongly connected components of a graph.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
{ Output:
}
@@ -2249,7 +2395,9 @@ implies that `u` appears before `v` in the topological sort order.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
{ Output:
}
@@ -2273,7 +2421,9 @@ graph.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
{ Output:
}
@@ -2302,7 +2452,9 @@ center nodes to the target node.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
* `center_nodes: List[Vertex]` ➡ A nonempty set of nodes in the graph `G` that
represent the centers of the Voronoi cells.
* `weight: string (default=NULL)` ➡ The relationship attribute (or an arbitrary
@@ -2336,7 +2488,9 @@ counted.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
* `weight: string (default=NULL)` ➡ The relationship attribute to use as
distance when computing shortest-path distances. This is passed directly to the
`networkx.shortest_path_length` function.
diff --git a/pages/advanced-algorithms/available-algorithms/pagerank.mdx b/pages/advanced-algorithms/available-algorithms/pagerank.mdx
index 833269a01..79ba97e49 100644
--- a/pages/advanced-algorithms/available-algorithms/pagerank.mdx
+++ b/pages/advanced-algorithms/available-algorithms/pagerank.mdx
@@ -66,7 +66,9 @@ The procedure calculates the PageRank.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
* `max_iterations: integer (default=100)` ➡ Maximum number of iterations within PageRank
algorithm.
* `damping_factor: double (default=0.85)` ➡ PageRanks damping factor. This is the
diff --git a/pages/advanced-algorithms/available-algorithms/pagerank_online.mdx b/pages/advanced-algorithms/available-algorithms/pagerank_online.mdx
index f51a49c8c..e4d639a94 100644
--- a/pages/advanced-algorithms/available-algorithms/pagerank_online.mdx
+++ b/pages/advanced-algorithms/available-algorithms/pagerank_online.mdx
@@ -89,8 +89,9 @@ parallelism, but is not applicable as it doesn't set the streaming context for t
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
-- `walks_per_node: integer (default=10)` ➡ Number of sampled walks per node. Note that increasing the number of walks per node will make the execution run for more time.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+- `walks_per_node: integer (default=10)` ➡ Number of sampled walks per node.
- `walk_stop_epsilon: double (default=0.1)` ➡ The probability of stopping when deriving
the random walk. On average, it will create walks of length `1 /
walk_stop_epsilon`.
@@ -117,7 +118,9 @@ has been called, before adding changes to the graph.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
{ Output:
}
@@ -142,7 +145,8 @@ changes in the graph.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
- `created_vertices` ➡ Nodes that were created in the last transaction.
- `created_edges` ➡ Relationships created in a period from the last transaction.
- `deleted_vertices` ➡ Nodes deleted from the last transaction.
diff --git a/pages/advanced-algorithms/available-algorithms/path.mdx b/pages/advanced-algorithms/available-algorithms/path.mdx
index 173bfd747..faf8e4f34 100644
--- a/pages/advanced-algorithms/available-algorithms/path.mdx
+++ b/pages/advanced-algorithms/available-algorithms/path.mdx
@@ -44,7 +44,9 @@ node-relationship-node order.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `path: Path` ➡ The given path.
{ Output:
}
@@ -79,7 +81,9 @@ paths can't be combined.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `first: Path` ➡ The first path.
- `second: Path` ➡ The second path.
@@ -116,7 +120,9 @@ The function returns a subpath of the given path.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `path: Path` ➡ The given path.
- `offset: int = 0` ➡ The first node index from the given path to be included in the subpath.
- `length: int = -1` ➡ Length of the subpath. If set to -1 the subpath will end on the final node of the given path.
@@ -158,7 +164,9 @@ from the last node of the path to one of the nodes in the current relationship
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `start_node: Node` - The starting node of the path.
- `relationships: Map` - A map with the key `rel` that contains a list of the given relationships.
@@ -207,7 +215,9 @@ inside the allowed number of hops, which satisfy relationship and label filters.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `start: any` ➡ A node, node ID, or a list of nodes and/or node IDs from which the function will expand.
- `relationships: List[string]` ➡ A list of relationships which the expanding
will follow. Relationships can be filtered using the notation described below.
diff --git a/pages/advanced-algorithms/available-algorithms/refactor.mdx b/pages/advanced-algorithms/available-algorithms/refactor.mdx
index 662a5ba6d..43c9a5dbf 100644
--- a/pages/advanced-algorithms/available-algorithms/refactor.mdx
+++ b/pages/advanced-algorithms/available-algorithms/refactor.mdx
@@ -37,7 +37,9 @@ Redirect the relationship to use a new start (from) node.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `relationship: Relationship` ➡ Relationship that needs to be modified.
- `new_from: Node` ➡ THe new start (from) node.
@@ -65,7 +67,9 @@ Redirect the relationship to use a new end (to) node.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `relationship: Relationship` ➡ Relationship that needs to be modified.
- `new_to: Node` ➡ The new end (to) node.
@@ -99,7 +103,9 @@ the `old_label` the procedure doesn't modify it.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `old_label: str` ➡ The old label name.
- `new_label: str` ➡ The new label name.
- `nodes: List[Node]` ➡ The list of nodes to be modified.
@@ -146,7 +152,9 @@ doesn't contain the `old_property` the procedure doesn't modify it.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `old_property: str` ➡ The old property name.
- `new_label: str` ➡ The new property name.
- `nodes: List[Node]` ➡ The list of nodes to be modified.
@@ -191,7 +199,9 @@ and new category nodes to organize a graph based on these categories.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `original_prop_key: string` ➡ The property key on the existing nodes used to
determine the category.
- `rel_type: string` ➡ The type of relationship to be created between the
@@ -262,7 +272,9 @@ properties during the cloning process.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `nodes: List[Node]` ➡ A list of nodes intended for duplication.
- `withRelationships: bool (default = false)` ➡ If set to `true`, the function
will also clone the relationships of the original nodes, connecting them to
@@ -341,7 +353,9 @@ will be cloned.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `nodes: List[Node]` ➡ A list of nodes which form the subgraph intended for
duplication.
- `rels: List[Relationship] (default = [])` ➡ A list of relationships intended
@@ -439,7 +453,9 @@ nodes connected by relationships.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `paths: List[Path]` ➡ A list of paths which define the subgraph intended for duplication.
- `config: Map (default = {})` ➡ Configuration parameters explained below.
@@ -452,7 +468,9 @@ nodes connected by relationships.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `input: int` ➡ ID of the original node which was cloned.
- `output: Node` ➡ The new cloned node.
@@ -534,7 +552,9 @@ requirements results in an exception.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `nodes: Any` ➡ A node, node ID, or list of nodes and node IDs.
- `type: string` ➡ The type of the new relationship.
@@ -580,7 +600,9 @@ Invert the direction of a given relationship.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `relationship: Any` ➡ A relationship, relationship ID, or a list of
relationships or relationship IDs.
@@ -629,7 +651,9 @@ an exception if both lists contain the same value.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `entity: Node|Relationship` ➡ The node or relationship on which the property value will be normalized.
- `property_key: string` ➡ The key of the property to be normalized.
- `true_values: List[Any]` ➡ A list of property values that will be normalized to `true`.
@@ -669,7 +693,9 @@ end node of the given relationship with the given types.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `relationships: Relationship|int|List[Relationship|int]` ➡ Relationships to be changed into a node defined by their ID, themselves, or a list of any of those two.
- `labels: List[string]` ➡ A list of labels that should assigned to the newly created node.
- `outType: String` ➡ The type of the outgoing relationship from the newly created node.
@@ -718,7 +744,9 @@ graph) and reconnects the remaining nodes.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `path: Path` ➡ The given path.
- `nodes: List[Node]` ➡ A list of nodes to be deleted.
- `config: Map` ➡ Config for reconnecting nodes.
@@ -831,7 +859,9 @@ The procedure changes the relationship type.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `oldType: string` ➡ The relationship type that will be renamed.
- `newType: string` ➡ The new relationship type.
- `rels: List[Relationship]` ➡ The list of relationships whose types will be renamed.
@@ -874,7 +904,9 @@ Renames the property of a relationship.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `old_property: string` ➡ The relationship property that will be renamed.
- `new_property: string` ➡ The new property name.
- `rels: List[Relationship]` ➡ The list of relationships whose properties will be renamed.
diff --git a/pages/advanced-algorithms/available-algorithms/set_cover.mdx b/pages/advanced-algorithms/available-algorithms/set_cover.mdx
index 6021bb007..6763f8078 100644
--- a/pages/advanced-algorithms/available-algorithms/set_cover.mdx
+++ b/pages/advanced-algorithms/available-algorithms/set_cover.mdx
@@ -56,7 +56,9 @@ You can execute this algorithm on [graph projections, subgraphs or portions of t
The input itself represents an *element-set* pair with each row of the lists.
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `element_vertexes: List[Vertex]` ➡ List of element nodes in pairs.
- `set_vertexes: List[Vertex]` ➡ List of set nodes in pairs.
@@ -84,7 +86,9 @@ The input itself represents an *element-set* pair with each row of the lists.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `element_vertexes: List[Vertex]` ➡ List of element nodes in pairs.
- `set_vertexes: List[Vertex]` ➡ List of set nodes in pairs.
diff --git a/pages/advanced-algorithms/available-algorithms/set_property.mdx b/pages/advanced-algorithms/available-algorithms/set_property.mdx
index 0eee79b4d..b14d8fe9e 100644
--- a/pages/advanced-algorithms/available-algorithms/set_property.mdx
+++ b/pages/advanced-algorithms/available-algorithms/set_property.mdx
@@ -40,7 +40,9 @@ Copies properties from one node to another.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `sourceNode: Vertex` ➡ The node you want to copy property from.
- `sourceProperties: List[string]` ➡ List of properties you want to copy from.
- `targetNode: Vertex` ➡ The node you want to copy property to.
@@ -64,7 +66,9 @@ Copies properties from one node to another relationship.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `sourceNode: Vertex` ➡ The node you want to copy property from.
- `sourceProperties: List[string]` ➡ List of properties you want to copy from.
- `targetRel: Relationship` ➡ The relationship you want to copy property to.
@@ -88,7 +92,9 @@ Copies properties from one relationship to another node.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `sourceRel: Relationship` ➡ The relationship you want to copy property from.
- `sourceProperties: List[string]` ➡ List of properties you want to copy from.
- `targetNode: Vertex` ➡ The node you want to copy property to.
@@ -112,7 +118,9 @@ Copies properties from one relationship to another.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `sourceRel: Vertex` ➡ The relationship you want to copy property from.
- `sourceProperties: List[string]` ➡ List of properties you want to copy from.
- `targetRel: Vertex` ➡ The relationship you want to copy property to.
diff --git a/pages/advanced-algorithms/available-algorithms/tgn.mdx b/pages/advanced-algorithms/available-algorithms/tgn.mdx
index 0d9708a26..8a7420108 100644
--- a/pages/advanced-algorithms/available-algorithms/tgn.mdx
+++ b/pages/advanced-algorithms/available-algorithms/tgn.mdx
@@ -187,7 +187,9 @@ values.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `params: mgp.Map` ➡ A dictionary containing the following parameters:
| Name | Type | Default | Description |
@@ -233,7 +235,9 @@ The `update()` procedure scrapes data from edges, including `edge_features` and
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `edges: mgp.List[mgp.Edges]` ➡ List of edges to preprocess (that arrive in a
stream to Memgraph). If a batch is full, `train` or `eval` starts, depending
on the mode.
@@ -265,7 +269,9 @@ The `get()` procedure retrieves calculated embeddings for each vertex.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
{ Output:
}
@@ -289,7 +295,9 @@ Use the `set_eval()` procedure to change the **TGN** mode to `eval`.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
{ Output:
}
@@ -311,7 +319,9 @@ Epoch count starts from 1.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
{ Output:
}
@@ -339,7 +349,9 @@ rounds on `train` edges and `eval` on evaluation edges.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `num_epochs: integer` ➡ Perform additional epoch training and evaluation **after**
the stream is done.
@@ -371,7 +383,9 @@ the link prediction task.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `src: mgp.Vertex` ➡ Source vertex of the link prediction.
- `dest: mgp.Vertex` ➡ Destination vertex of the link prediction.
diff --git a/pages/advanced-algorithms/available-algorithms/tsp.mdx b/pages/advanced-algorithms/available-algorithms/tsp.mdx
index 5ffc657db..e2409156d 100644
--- a/pages/advanced-algorithms/available-algorithms/tsp.mdx
+++ b/pages/advanced-algorithms/available-algorithms/tsp.mdx
@@ -66,7 +66,9 @@ Use the procedure to solve the travelling salesman problem.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `points: List[Vertex]` ➡ List of points to calculate TSP on. Required to have *lng* and *lat* properties.
- `method: string (default=1.5_approx)` ➡ Method used for optimization. Can be either ***1.5_approx***, ***2_approx*** or ***greedy***.
diff --git a/pages/advanced-algorithms/available-algorithms/union_find.mdx b/pages/advanced-algorithms/available-algorithms/union_find.mdx
index a1fb880e6..b00032139 100644
--- a/pages/advanced-algorithms/available-algorithms/union_find.mdx
+++ b/pages/advanced-algorithms/available-algorithms/union_find.mdx
@@ -62,7 +62,9 @@ different connected component.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `nodes1: Union[Vertex, List[Vertex]]` ➡ First value (or list thereof) in connectedness calculation.
- `nodes2: Union[Vertex, List[Vertex]]` ➡ Second value (or list thereof) in connectedness calculation.
- `mode: string (default="pairwise")` ➡ Mode of combining `nodes1` and `nodes2`. Can be ***p*** or ***pairwise*** for a pairwise product, or ***c*** or ***cartesian*** for a Cartesian product of the arguments. Pairwise by default.
diff --git a/pages/advanced-algorithms/available-algorithms/uuid_generator.mdx b/pages/advanced-algorithms/available-algorithms/uuid_generator.mdx
index 9b05fd6ac..4ef79dfc2 100644
--- a/pages/advanced-algorithms/available-algorithms/uuid_generator.mdx
+++ b/pages/advanced-algorithms/available-algorithms/uuid_generator.mdx
@@ -43,7 +43,9 @@ Use the procedure to the the UUID string.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
{ Output:
}
diff --git a/pages/advanced-algorithms/available-algorithms/vrp.mdx b/pages/advanced-algorithms/available-algorithms/vrp.mdx
index 7b6a63bb0..f4106f6e6 100644
--- a/pages/advanced-algorithms/available-algorithms/vrp.mdx
+++ b/pages/advanced-algorithms/available-algorithms/vrp.mdx
@@ -65,7 +65,9 @@ The procedure returns a vehicle route.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `depot_node: Vertex` ➡ Depot node with its corresponding *lat* and *lng* coordinate properties.
- `number_of_vehicles: integer = 1` ➡ Designates how many vehicles are used. Set to 1 by default.
diff --git a/pages/advanced-algorithms/available-algorithms/weakly_connected_components.mdx b/pages/advanced-algorithms/available-algorithms/weakly_connected_components.mdx
index 24d54fd59..c10b413d4 100644
--- a/pages/advanced-algorithms/available-algorithms/weakly_connected_components.mdx
+++ b/pages/advanced-algorithms/available-algorithms/weakly_connected_components.mdx
@@ -46,7 +46,9 @@ Use the procedure to get disconnected componentes.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
{ Output:
}
diff --git a/pages/advanced-algorithms/available-algorithms/xml_module.mdx b/pages/advanced-algorithms/available-algorithms/xml_module.mdx
index 37e7e04f7..dacbdd2da 100644
--- a/pages/advanced-algorithms/available-algorithms/xml_module.mdx
+++ b/pages/advanced-algorithms/available-algorithms/xml_module.mdx
@@ -53,7 +53,9 @@ via an element name prefixed with an `_`.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `xml_input: string` ➡ input XML string.
- `simple: bool (default = false)` ➡ configuration bool used for specifying whether simple mode should be used. [**Simple configuration explanation**](#simple-configuration-explanation).
- `path: string (default = "")` ➡ path to the XML file that needs to be parsed. If the path is not empty, the `xml_input` string is ignored, and only the file is parsed.
@@ -321,7 +323,9 @@ must be used to avoid errors: `. .. *`. The current node is the root node.
{ Input:
}
-- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+- `subgraph: Graph` (**OPTIONAL**) ➡ A specific subgraph, which is an [object of type Graph](/advanced-algorithms/run-algorithms#run-procedures-on-subgraph) returned by the `project()` function, on which the algorithm is run.
+If subgraph is not specified, the algorithm is computed on the entire graph by default.
+
- `xml_url: string` ➡ The input URL where the XML file is located.
- `simple: bool (default = false)` ➡ A bool used for specifying whether simple mode should be used.
- `path: string (default = "")` ➡ A path to the XML file that needs to be parsed. If the path is not empty, `xml_input` string is ignored, and only the file is parsed.