Skip to content

Commit

Permalink
Further GraphViz improvements.
Browse files Browse the repository at this point in the history
  • Loading branch information
acdemiralp committed Feb 8, 2018
1 parent 3b9f4c1 commit f1b8a2d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions include/fg/framegraph.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,12 @@ class framegraph
std::ofstream stream(filepath);
stream << "digraph framegraph \n{\n";

stream << "rankdir = LR\n\n";
stream << "rankdir = LR\n";
stream << "bgcolor = black\n\n";
stream << "node [shape=rectangle, fontname=\"helvetica\", fontsize=12]\n\n";

for (auto& render_task : render_tasks_)
stream << "\"" << render_task->name() << "\" [label=\"" << render_task->name() << "\", style=filled, fillcolor=orange]\n";
stream << "\"" << render_task->name() << "\" [label=\"" << render_task->name() << "\", style=filled, fillcolor=darkorange]\n";
stream << "\n";

for (auto& resource : resources_ )
Expand Down

0 comments on commit f1b8a2d

Please sign in to comment.