linchemin.cgu.iron.Direction

class linchemin.cgu.iron.Direction(dir_string: str)[source]

Class representing the direction of an Iron edge.

Attributes:

string: a string representing the direction (‘parent_node>child_node’)

tup: a tuple representing the direction (parent_node, child_node)

__init__(dir_string: str)[source]

Parameters:

dir_string: str

The string corresponding to the direction in the form ‘parent_node>child_node’

Methods

__init__(dir_string)

Parameters: dir_string: str The string corresponding to the direction in the form 'parent_node>child_node'