kinks# kinks(k)# Return a set of loops of k. A loop is an arc that connects the node to itself at a crossing. See also kinks(). :param k: the planar diagram :return: set of bridges represented by an arc