bridges#

bridges(k)#

Return a set of bridges of k. A bridge is an arc that once removed, splits the diagram into two disjoint parts. :param k: the planar diagram :return: set of bridges represented by an arc