Skip to main content

Set Nodes

@validate_call
def set_nodes(nodes: list[str]) -> None

Set the nodes of the model.

Arguments:

  • nodes list[str] - A list of node names.

Example:

model.set_nodes(["x", "y", "z"])