Namespaces
Methods
-
<static> getDependencyGraph(node [, buffer] [, level] [, map])
-
This method generates a graph description (.dot format) of all the downstream and children nodes of a "root" node possesses (recursively). The output is returned as a string.
Note that the three optional parameters are used when this method calls itself recursively. There is no need to provide these parameters when calling the method from the outside.
Parameters:
Name Type Argument Description node
olympe.df.ExecutionContext The node we want to plot the dependency graph of
buffer
string <optional>
A buffer in which the graph description is accumulated during the recursion
level
number <optional>
A counter telling at which level of the recursion the algorithm is
map
Map <optional>
A map of already visited node to avoir infinite looping
Returns:
The graph description as a string
- Type
- string