number_of_link_components#
- number_of_link_components(k: PlanarDiagram)#
Return the number of link components. E.g. a trefoil has 1 component, the Hopf link has 2. :param k: input planar diagram :return: number of link components
Return the number of link components. E.g. a trefoil has 1 component, the Hopf link has 2. :param k: input planar diagram :return: number of link components