Skip Menu |

This queue is for tickets about the GraphViz CPAN distribution.

Report information
The Basics
Id: 71787
Status: resolved
Priority: 0/
Queue: GraphViz

People
Owner: Nobody in particular
Requestors: delta [...] lackas.net
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Patch to add support for 'orientation'
Please find here a patch to allow setting of orientation (e.g. to 'landscape'): --- GraphViz.pm.orig 2011-10-19 22:05:01.000000000 +0200 +++ GraphViz.pm 2011-10-19 22:06:04.000000000 +0200 @@ -386,6 +386,9 @@ $self->{CONCENTRATE} = $config->{concentrate} if ( exists $config->{concentrate} ); + $self->{ORIENTATION} = $config->{orientation} + if ( exists $config->{orientation} ); + $self->{RANDOM_START} = $config->{random_start} if ( exists $config->{random_start} ); @@ -1033,6 +1036,8 @@ # edge merging $dot .= "\tconcentrate=true;\n" if $self->{CONCENTRATE}; + $dot .= "\torientation=$self->{ORIENTATION};\n" if $self->{ORIENTATION}; + # epsilon $dot .= "\tepsilon=" . $self->{EPSILON} . ";\n" if $self->{EPSILON};
Subject: Re: [rt.cpan.org #71787] Patch to add support for 'orientation'
Date: Thu, 20 Oct 2011 10:58:54 +1100
To: bug-GraphViz [...] rt.cpan.org
From: Ron Savage <ron [...] savage.net.au>
Hi Christian On Wed, 2011-10-19 at 16:10 -0400, Christian Lackas via RT wrote: Thanx for the patch to GraphViz. Before I apply it, do you know about GraphViz2, my complete re-write of GraphViz? It supports the latest stable version of Graphviz, V 2.26.3, including /all/ its reserved words. GraphViz is therefore deprecated. I strongly urge you to switch. GraphViz2 comes with a complete set of documentation and a new set of demo programs. See here for sample output: http://savage.net.au/Perl-modules/html/graphviz2/ So, what do you think? -- Ron Savage http://savage.net.au/ Ph: 0421 920 622
Support for orientation add in V 2.05.