Stability Analysis of Interconnected Deformable Bodies in a Topological Tree