noctis.data_transformation.preprocessing.graph_expander.GraphExpander¶
- class noctis.data_transformation.preprocessing.graph_expander.GraphExpander(schema: GraphSchema)[source]¶
Class to expand graph data based on a given schema, including nodes and relationships.
- Attributes:
schema (GraphSchema): The schema defining the structure of the graph. nodes (dict[str, list[Node]]): Dictionary to store expanded nodes. relationships (dict[str, list[Relationship]]): Dictionary to store expanded relationships.
- __init__(schema: GraphSchema)[source]¶
Methods
__init__(schema)expand_reaction_step(step_dict, ...)Expand a reaction step into nodes and relationships.