Reference: Graph-Building API
mflowgen provides a Python library for building graphs in the
construct.py for your design. In general, you will only use methods
from the Graph and Node classes. The Edge class is used
internally when you call the various methods that make connections between
nodes in your graph.
Note that for general discussion, we use the words “step” and “node”
interchangeably in the following documentation. The python code defines a
Step class and a Node class which are aliases of each
other. We recommend using the Node class. The Step
class is deprecated.
Contents:
- Class Graph
- Class Node
clone()get_input_handle()get_output_handle()i()o()all_input_handles()all_output_handles()extend_inputs()extend_outputs()pre_extend_commands()extend_outputs()extend_preconditions()extend_postconditions()set_name()get_name()set_param()get_param()update_params()params()expand_params()escape_dollars()all_inputs()all_outputs()all_outputs_execute()all_outputs_tagged()all_outputs_untagged()get_dir()get_commands()get_debug_commands()dump_yaml()set_sandbox()get_sandbox()
- Class Edge