The comparability graph of a partially ordered set
is the graph with vertex set
for which vertices
and
are adjacent iff either
or
in
.
The graph complement of a comparability graph is a cocomparability graph. Its edges join distinct incomparable elements of the partially ordered set.