pliers.graph.Node

class pliers.graph.Node(transformer, name=None, **parameters)[source]

Bases: object

A graph node/vertex. Represents a single transformer, optionally with references to children.

Parameters
  • name (str) – Name of the node

  • transformer (Transformer) – the Transformer instance at this node

  • parameters (kwargs) – parameters for initializing the Transformer

__init__(transformer, name=None, **parameters)[source]
add_child(node)[source]

Append a child to the list of children.