From: terry%mozilla.org <> Date: Fri, 28 May 1999 02:53:25 +0000 (+0000) Subject: Allow user to control orientation of graph; default it to left-to-right. X-Git-Tag: bugzilla-2.6~49 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f4217d2624c5deeed8120607d23095fef03e45ca;p=thirdparty%2Fbugzilla.git Allow user to control orientation of graph; default it to left-to-right. --- diff --git a/showdependencygraph.cgi b/showdependencygraph.cgi index 7e06ffc624..275d73ea29 100755 --- a/showdependencygraph.cgi +++ b/showdependencygraph.cgi @@ -56,7 +56,7 @@ if (defined $id) { open(DOT, ">$filename") || die "Can't create $filename"; print DOT "digraph G {"; print DOT qq{ -graph [URL="${urlbase}query.cgi"] +graph [URL="${urlbase}query.cgi", rankdir=$::FORM{'rankdir'}] node [URL="${urlbase}show_bug.cgi?id=\\N", style=filled, color=lightgrey] }; my %baselist; @@ -150,6 +150,7 @@ node [URL="${urlbase}show_bug.cgi?id=\\N", style=filled, color=lightgrey] $::FORM{'id'} = ""; $::FORM{'doall'} = 0; $::FORM{'showsummary'} = 0; + $::FORM{'rankdir'} = "LR"; } print " @@ -165,6 +166,12 @@ dependencies