dump-asy: start gv without widgets and fit the drawing to window
This commit is contained in:
parent
23f00ee7d1
commit
0560fc7964
|
@ -42,4 +42,4 @@ say $tmp "draw(n" . $tree->{id} . ", (0, 0));";
|
|||
close($tmp);
|
||||
my $rep = "$tmp";
|
||||
$rep =~ s/asy$/eps/;
|
||||
system("cd /tmp && asy $tmp && gv $rep && rm $rep");
|
||||
system("cd /tmp && asy $tmp && gv --scale=-1000 --noresize --widgetless $rep && rm $rep");
|
||||
|
|
Loading…
Reference in New Issue