Connectivity of pseudomanifold graphs from an algebraic point of view