Graphex
Summary↑
| exec_graph(components) | Generate and execute a graph and return the results for all vertices |
| exec_graph(key, components) | Generate and execute a graph and return the results for the given |
| graph(components) | Generate a graph. Returns a new graph or |
Types ↑
component :: [Keyword]
A component is a keyword list with a name, fun and optionally deps.
vertex :: :digraph.vertex
Identifier for a vertex
edge :: :digraph.edge
Identifier for an edge
results :: %{}
results is a collection of results from executing a graph
result_key :: atom
result_key is a key used to retrieve an item from results.
A graph
Functions
Specs:
Generate and execute a graph and return the results for all vertices.
The graph will be automatically deleted after execution.
Specs:
- exec_graph(result_key, [component]) :: results
Generate and execute a graph and return the results for the given result_key.
The graph will be automatically deleted after execution.
Specs:
Generate a graph. Returns a new graph or {:error, message} if there is a
problem constructing the graph.
You will need to manually delete the graph after using it.