linchemin.cgu.iron.Edge¶
- class linchemin.cgu.iron.Edge(iid: str, a_iid: str, b_iid: str, direction: ~linchemin.cgu.iron.Direction, properties: dict, labels: list = <factory>)[source]¶
Class representing an edge in an Iron instance.
Attributes:¶
iid: a string representing the id of the edge
a_iid: a string representing the id of the parent node
b_iid: a string representing the id of the child node
direction: a Direction object indicating the direction of the edge
properties: a dictionary to store the properties of the edge
labels: a list to store the labels of the edge
- __init__(iid: str, a_iid: str, b_iid: str, direction: ~linchemin.cgu.iron.Direction, properties: dict, labels: list = <factory>) None¶
Methods
__init__(iid, a_iid, b_iid, direction, ...)get_properties_names()Attributes
iida_iidb_iiddirectionpropertieslabels