oriented#

oriented(k: PlanarDiagram, minimal_orientation=False)#

Orient the diagram (choose a random orientation). If minimal_orientation is True, then return the minimal diagram out of all possibilities of orientations (this is much slower), :param k: :param minimal_orientation: if True, computes one orientation, otherwise computes the minimal orientation :return: