cut_decomposition#

cut_decomposition(k: PlanarDiagram | OrientedPlanarDiagram, cut_path: tuple | list, vertex_maker='cut') list#

Cuts the diagram into two parts by cutting each arc with an endpoint in the cut path. The first component of the cut contains the nodes from the cut path.