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