From: Ken Youens-Clark Date: Thu, 21 Aug 2003 02:52:40 +0000 (+0000) Subject: Changed default layout. X-Git-Tag: v0.04~251 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=08e7eb78974b7f05ace9e1db92c2d68260243d17;p=dbsrgits%2FSQL-Translator.git Changed default layout. --- diff --git a/lib/SQL/Translator/Producer/GraphViz.pm b/lib/SQL/Translator/Producer/GraphViz.pm index 64f17df..5044cda 100644 --- a/lib/SQL/Translator/Producer/GraphViz.pm +++ b/lib/SQL/Translator/Producer/GraphViz.pm @@ -1,7 +1,7 @@ package SQL::Translator::Producer::GraphViz; # ------------------------------------------------------------------- -# $Id: GraphViz.pm,v 1.7 2003-08-16 13:23:07 rossta Exp $ +# $Id: GraphViz.pm,v 1.8 2003-08-21 02:52:40 kycl4rk Exp $ # ------------------------------------------------------------------- # Copyright (C) 2003 Ken Y. Clark # @@ -27,7 +27,7 @@ use SQL::Translator::Schema::Constants; use SQL::Translator::Utils qw(debug); use vars qw[ $VERSION $DEBUG ]; -$VERSION = sprintf "%d.%02d", q$Revision: 1.7 $ =~ /(\d+)\.(\d+)/; +$VERSION = sprintf "%d.%02d", q$Revision: 1.8 $ =~ /(\d+)\.(\d+)/; $DEBUG = 0 unless defined $DEBUG; use constant VALID_LAYOUT => { @@ -84,7 +84,7 @@ sub produce { local $DEBUG = $t->debug; my $out_file = $args->{'out_file'} || ''; - my $layout = $args->{'layout'} || 'neato'; + my $layout = $args->{'layout'} || 'dot'; my $node_shape = $args->{'node_shape'} || 'record'; my $output_type = $args->{'output_type'} || 'png'; my $width = defined $args->{'width'}