You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -258,6 +259,20 @@ It is also possible to provide a join node. It will be a node used as join for t
258
259
But if you want to do a map reduce with a fork, it is do-able by setting the join_id to the `fork_from_node` method. The join_id has to be an existing node on which, for every parents that are part of the fork has only this join node as child.
259
260
See [test using this mechanism](https://github.com/FreeYourSoul/FreExGraph/blob/ae707cf0fcb8486bde783cd0c7fe67217a56b3d2/test/fork_test.py#L41-L66) for more details
260
261
262
+
### Sub-Graph
263
+
264
+
A method exist in the `FreExGraph` class in order to make sub graph out of the graph.
Providing a node to start the subgraph and optionally a set of node where you want the sub graph to end. If no node matching the ``to_nodes_id`` is encountered, the subgraph go until the leaf nodes of the graph.
273
+
274
+
This feature may be used as a fork mechanism (as seen above). It is easier to manipulate and monitor.
0 commit comments