[DEV] better dot file generation

This commit is contained in:
2015-02-18 23:37:09 +01:00
parent d0bcaed9db
commit dfb46560a7
5 changed files with 72 additions and 6 deletions

View File

@@ -152,6 +152,7 @@ void river::io::Manager::generateDot(const std::string& _filename) {
return;
}
node << "digraph G {" << "\n";
node << " rankdir=\"RL\";\n";
int32_t id = 0;
for (auto &it2 : m_list) {
std::shared_ptr<river::io::Node> val = it2.lock();