Skip to content

node_factory.py

NodeFactory

A Factory to create objects of type Node.

create_node_from_data(parent, celonis, node_data) staticmethod

Creates a new Node based on nodeType and assetType.

Parameters:

Name Type Description Default
parent

Parent Object.

required
celonis Celonis

Celonis Base Object.

required
node_data Dict

Dictionary with values for keys nodeType and assetType.

required

Returns:

Type Description
Node

The respective Node Type.

Back to top