all_orientations#
- all_orientations(k: PlanarDiagram) list #
Return all possible orientations of a given unoriented PlanarDiagram. If the diagram is invertible, both orientations are still returned.
- Parameters:
k (PlanarDiagram): The PlanarDiagram for which all possible orientations are generated.
- Returns:
list: A list of oriented planar diagrams.