DistRegBuilder.add_group()#

DistRegBuilder.add_group(name, **kwargs)#

Adds a group to the graph.

Also assigns the nodes and variables to the group, see liesel.model.nodes.Node.groups.

Parameters
  • name (str) – The name of the group.

  • kwargs (Node | Var) – The nodes and variables in the group with their keys in the group as keywords.

Return type

GraphBuilder