Fully indecomposable and nearly decomposable graphs