component#

Component#

Provides a component class acting as the base for a graph or a component (node) thereof.

Component is used as a base class for both Node and Graph and represents a hierarchical component with a parent (if it’s not the root node). It should not be used directly. The workflow is internally represented as a tree, with the Workflow representing the root node owning all other nodes. Leaf nodes are termed Node and represent atomic workflow steps. Nodes with branches are (Sub-)`Graph`s, as they contain multiple nodes, but expose the same interface that a would:

    Workflow
    /            Subgraph   Node
/         Node   Node

Classes

Component([parent, name, description, ...])

Base class for all components.