Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
doxverilog
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
doxverilog
Commits
04247620
Commit
04247620
authored
Jul 23, 2007
by
Dimitri van Heesch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Release-1.5.2-20070719
parent
29a8f144
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
dot.cpp
src/dot.cpp
+2
-2
No files found.
src/dot.cpp
View file @
04247620
...
...
@@ -1478,11 +1478,11 @@ bool DotClassGraph::determineVisibleNodes(DotNode *rootNode,
uint
i
;
for
(
i
=
0
;
i
<
childTreeWidth
.
size
();
i
++
)
{
if
(
childTreeWidth
[
i
]
>
maxWidth
)
maxWidth
=
childTreeWidth
[
i
]
;
if
(
childTreeWidth
.
at
(
i
)
>
maxWidth
)
maxWidth
=
childTreeWidth
.
at
(
i
)
;
}
for
(
i
=
0
;
i
<
parentTreeWidth
.
size
();
i
++
)
{
if
(
parentTreeWidth
[
i
]
>
maxWidth
)
maxWidth
=
parentTreeWidth
[
i
]
;
if
(
parentTreeWidth
.
at
(
i
)
>
maxWidth
)
maxWidth
=
parentTreeWidth
.
at
(
i
)
;
}
//printf("max tree width=%d, max tree height=%d\n",maxWidth,maxHeight);
return
maxWidth
>
80
&&
maxHeight
<
12
;
// used metric to decide to render the tree
...
...
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