Skip to content

Commit 27f3a15

Browse files
committed
Adds X::Comp to neato-ized files
Check [IRC log](discussion](https://irclog.perlgeek.de/perl6/2018-03-23#i_15958129)) for discussion. Also related to #246 (although it's closed). Kudos and 👍 to @AlexDaniel for help.
1 parent 9b6ee71 commit 27f3a15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Perl6/TypeGraph/Viz.pm6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ class Perl6::TypeGraph::Viz {
101101
run 'dot', '-V', :!err or die 'dot command failed! (did you install Graphviz?)';
102102
}
103103
die "bad filename '$file'" unless $file;
104-
my $graphvizzer = ( $file ~~ /Metamodel\:\:/ )??'neato'!!'dot';
104+
my $graphvizzer = ( $file ~~ /Metamodel\:\: || X\:\:Comp/ )??'neato'!!'dot';
105105
spurt $file ~ .dot, self.as-dot(:$size).encode; # raw .dot file for debugging
106106
my $dot = Proc::Async.new(:w, $graphvizzer, '-T', $format, '-o', $file);
107107
my $promise = $dot.start;

0 commit comments

Comments
 (0)