C, a list, containing lists of vertices, each of which is a connected component of P
Description
A connected component of P is a set of vertices of P such that every between every pair of vertices u and v in the set there exists a chain of vertices (a0=u,a1,...,an=v) such that ai-1 and ai are comparable in P for each i.
i1 : C = chain 3;
i2 : connectedComponents C
o2 = {{1, 2, 3}}
o2 : List