remove#

Functions

remove_arc(k, arc_for_removing[, inplace])

Args:

remove_bivalent_vertex(k, node[, keep_if_unknot])

remove_bivalent_vertices(k[, match_attributes])

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

remove_empty_nodes(k)

allways inplace

remove_loops(k)

Remove loops and return how many loops were removed.