Functions for finding chains in a graph.
chain_decomposition(G[, root])
chain_decomposition
Returns the chain decomposition of a graph.