link_components_endpoints#
- link_components_endpoints(k)#
Return sets of endpoints belonging to the same link component.
Endpoints are grouped into the same component if they are connected through arcs or at nodes in the diagram.
- Parameters:
k (PlanarDiagram)
- Return type:
list[set]