Add a sequence of nodes that will be executed in the provided order.
add_sequence(
self,
nodes: Sequence[StateNode[NodeInputT, ContextT] | tuple[str, StateNode[NodeInputT, ContextT]]]
) -> Self| Name | Type | Description |
|---|---|---|
nodes* | Sequence[StateNode[NodeInputT, ContextT] | tuple[str, StateNode[NodeInputT, ContextT]]] | A sequence of If no names are provided, the name will be inferred from the node object (e.g. a Each node will be executed in the order provided. |