Expand description
TODO: Top-level docs
Macros§
- graph
- Syntax sugar for building a graph
- output
- Simple macro to simulate a function that can return mutlieple names outputs
Structs§
- Data
Label - Associates a name with a type, internal detail
- Edge
Info - Information about connections between nodes, purely an implementation detail of the graph.
- Graph
- Directed Acryllic Graph representing the flow of execution in that pipeline. Only operates on index and edge information - doesn’t store actual state.
- Node
- Every node wraps a Stage, which is a decorated function that has some number of inputs and some number of outputs.
- Registry
- A Registry stores each node, its state, and the logical Stage associated with it.
Enums§
- Eval
Strategy - Node
Output - Represents one or more outputs of a node. This can be used as a return type to represent a function with multiple outputs. The output macro is the preferred way to construct this in that case. Any more direct interaction with this type is not recommended.
- Reevaluation
Rule - RefType
Traits§
- AnyNode
- This is used to type-erase a node. It’s public because the macro needs to use this, but there should be no reason anyone should manually implement this.
- Stage
- Defines all the information about how a stage is handled.
Attribute Macros§
- stage
- A macro that wraps a function with the standardized interface:
fn fn_name(&mut DataMap, &DataMap) -> anyhow::Result