linchemin.cgu.graph_transformations.data_model_converters.DataModelConverter¶
- class linchemin.cgu.graph_transformations.data_model_converters.DataModelConverter[source]¶
Abstract representation of converters handling graph data models.
- __init__()¶
Methods
__init__()build_iron_node(node, id_n)To build an Iron node instance from a ChemicalEquation
convert_syngraph(syngraph)To convert between SynGraph types
get_node_info(node, iron)To create or identify a specif node in an Iron instance
iron_to_syngraph(iron_graph)To translate an Iron graph into a SynGraph object of the correct type
syngraph_to_iron(syngraph)To translate a SynGraph object into an Iron graph