remove_bivalent_vertices#
- remove_bivalent_vertices(k: PlanarDiagram, match_attributes=False)#
Remove bivalent vertices from knotted graph k :param k: :param match_attributes: if True, removes bivalent vertices only if all four adjacent/incident endpoints match, if False, it removes the bivalent vertices regardless :return: None