Skip to content

Commit

Permalink
documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
specht committed Feb 16, 2018
1 parent 3f63738 commit 165920e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions champ.rb
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,7 @@ def write_report
io = StringIO.new
io.puts "digraph {"
io.puts "overlap = false;"
io.puts "rankdir = TB;"
io.puts "rankdir = LR;"
io.puts "splines = true;"
io.puts "graph [fontname = Helvetica, fontsize = 9, size = \"14, 11\", nodesep = 0.2, ranksep = 0.3, ordering = out];"
io.puts "node [fontname = Helvetica, fontsize = 9, shape = rect, style = filled, fillcolor = \"#fce94f\" color = \"#c4a000\"];"
Expand Down Expand Up @@ -815,17 +815,19 @@ def parse_champ_directive(s, global_variable = false)
</style>
</head>
<body>
<div style='float: left; border-right: 1px solid #aaa;'>
<div style='float: left; padding-right: 10px;'>
<h2>Frames</h2>
#{screenshots}
<h2>Cycles</h2>
#{cycles}
</div>
<div style='margin-left: 460px; padding-top: 5px;'>
<h2>Watches</h2>
#{watches}
<div style='float: left; padding-right: 10px;'>
<h2>Call Graph</h2>
#{call_graph}
</div>
<div style='padding-top: 0.1px;'>
<h2>Watches</h2>
#{watches}
</div>
</body>
</html>
Binary file modified doc/screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 165920e

Please sign in to comment.