Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
f4217d26
Commit
f4217d26
authored
May 28, 1999
by
terry%mozilla.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow user to control orientation of graph; default it to left-to-right.
parent
31e136cf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
showdependencygraph.cgi
showdependencygraph.cgi
+8
-1
No files found.
showdependencygraph.cgi
View file @
f4217d26
...
@@ -56,7 +56,7 @@ if (defined $id) {
...
@@ -56,7 +56,7 @@ if (defined $id) {
open
(
DOT
,
">$filename"
)
||
die
"Can't create $filename"
;
open
(
DOT
,
">$filename"
)
||
die
"Can't create $filename"
;
print
DOT
"digraph G {"
;
print
DOT
"digraph G {"
;
print
DOT
qq{
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]
node [URL="${urlbase}show_bug.cgi?id=\\N", style=filled, color=lightgrey]
}
;
}
;
my
%
baselist
;
my
%
baselist
;
...
@@ -150,6 +150,7 @@ node [URL="${urlbase}show_bug.cgi?id=\\N", style=filled, color=lightgrey]
...
@@ -150,6 +150,7 @@ node [URL="${urlbase}show_bug.cgi?id=\\N", style=filled, color=lightgrey]
$::FORM
{
'id'
}
=
""
;
$::FORM
{
'id'
}
=
""
;
$::FORM
{
'doall'
}
=
0
;
$::FORM
{
'doall'
}
=
0
;
$::FORM
{
'showsummary'
}
=
0
;
$::FORM
{
'showsummary'
}
=
0
;
$::FORM
{
'rankdir'
}
=
"LR"
;
}
}
print
"
print
"
...
@@ -165,6 +166,12 @@ dependencies</td>
...
@@ -165,6 +166,12 @@ dependencies</td>
<tr><td colspan=3><input type=checkbox name=showsummary"
.
<tr><td colspan=3><input type=checkbox name=showsummary"
.
(
$::FORM
{
'showsummary'
}
?
" checked"
:
""
)
.
">Show the summary of all bugs
(
$::FORM
{
'showsummary'
}
?
" checked"
:
""
)
.
">Show the summary of all bugs
</tr>
</tr>
<tr><td colspan=3><select name=rankdir>
<option value=\"TB\""
.
(
$::FORM
{
'rankdir'
}
eq
'TB'
?
'selected'
:
''
)
.
">Orient top-to-bottom
<option value=\"LR\""
.
(
$::FORM
{
'rankdir'
}
eq
'LR'
?
'selected'
:
''
)
.
">Orient left-to-right
</select></td></tr>
</table>
</table>
<input type=submit value=\"Submit\">
<input type=submit value=\"Submit\">
</form>
</form>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment