List<Mobject> nonEmptySubmobjects() { return [ for (var submob in submobjects) if (submob.submobjects.isNotEmpty || submob.points.isNotEmpty) submob ]; }