Skip to content

Commit

Permalink
Improve Graphviz output.
Browse files Browse the repository at this point in the history
  • Loading branch information
kennytm committed Sep 19, 2017
1 parent 1e9e978 commit bc3a654
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cov/src/graph.rs
Original file line number Diff line number Diff line change
Expand Up @@ -935,6 +935,9 @@ impl Graph {
use std::fmt::Write;
write!(s, "{}{}", if i == 0 { '#' } else { ',' }, line).expect(":(");
}
if s.is_empty() {
s.push('?');
}
s
};
writeln!(
Expand All @@ -943,7 +946,7 @@ impl Graph {
<table cellspacing=\"0\">\
<tr>\
<td rowspan=\"2\"><font color=\"{}\">{}</font></td>\
<td><font point-size=\"9\">block {}</font></td>\
<td><font point-size=\"9\">@{}</font></td>\
</tr>\
<tr>\
<td><font point-size=\"9\">{}</font></td>\
Expand Down

0 comments on commit bc3a654

Please sign in to comment.