Class Node

A Graph is composed of nodes and edges (i.e., Node and Edge objects).

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.

class Node(node_path, default=False)
classmethod Node.clone()
classmethod Node.get_input_handle(f)
classmethod Node.get_output_handle(f)
classmethod Node.i(name)
classmethod Node.o(name)
classmethod Node.all_input_handles()
classmethod Node.all_output_handles()
classmethod Node.extend_inputs(new_list)
classmethod Node.extend_outputs(new_list)
classmethod Node.pre_extend_commands(new_list)
classmethod Node.extend_outputs(new_list)
classmethod Node.extend_preconditions(new_list)
classmethod Node.extend_postconditions(new_list)
classmethod Node.set_name(name)
classmethod Node.get_name()
classmethod Node.set_param(param, value)
classmethod Node.get_param(param)
classmethod Node.update_params(params, allow_new=False)
classmethod Node.params()
classmethod Node.expand_params()
classmethod Node.escape_dollars()
classmethod Node.all_inputs()
classmethod Node.all_outputs()
classmethod Node.all_outputs_execute()
classmethod Node.all_outputs_tagged()
classmethod Node.all_outputs_untagged()
classmethod Node.get_dir()
classmethod Node.get_commands()
classmethod Node.get_debug_commands()
classmethod Node.dump_yaml(build_dir)
classmethod Node.set_sandbox(val)
classmethod Node.get_sandbox()