Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
show progress while writing type graph images
  • Loading branch information
moritz committed Aug 6, 2012
1 parent 1b3ffe4 commit 9596fde
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion htmlify.pl
Expand Up @@ -241,12 +241,14 @@ (Bool :$debug)
}

sub write-type-graph-images() {
say "Writing type graph images to html/images/";
print "Writing type graph images to html/images/ ";
for $tg.sorted -> $type {
my $viz = Perl6::TypeGraph::Viz.new-for-type($type);
$viz.to-file("html/images/type-graph-{$type}.svg", format => 'svg');
$viz.to-file("html/images/type-graph-{$type}.png", format => 'png', size => '8,3');
print '.'
}
say ' done.';

say "Writing specialized visualizations to html/images/";
my %by-group = $tg.sorted.classify(&viz-group);
Expand Down

0 comments on commit 9596fde

Please sign in to comment.