=head1 VERSION
-Version 0.01
+Version 0.02
=cut
-our $VERSION = '0.01';
+our $VERSION = '0.02';
use List::Util ();
sub draw {
my $set = shift;
+ my @kids = $set->kids;
+ return [ ] unless @kids;
+
List::Util::reduce { LaTeX::TikZ::Scope::fold($a, $b) }
map $_->draw(@_),
- $set->kids;
+ @kids;
}
LaTeX::TikZ::Interface->register(