Skip to content
Snippets Groups Projects
Commit cfdca588 authored by Florent Lamiraux's avatar Florent Lamiraux
Browse files

Fix bug in method PoolStorage::writeGraph.

parent 3982eac4
No related branches found
No related tags found
No related merge requests found
......@@ -213,7 +213,7 @@ writeGraph(const std::string &aFileName)
<< " Time: " << ltimeformatted.tm_hour
<< ":" << ltimeformatted.tm_min;
GraphFile << " */" << std::endl;
GraphFile << "digraph " << GenericName << " { ";
GraphFile << "digraph \"" << GenericName << "\" { ";
GraphFile << "\t graph [ label=\"" << GenericName << "\" bgcolor = white rankdir=LR ]" << std::endl
<< "\t node [ fontcolor = black, color = black, fillcolor = gold1, style=filled, shape=box ] ; " << std::endl;
GraphFile << "\tsubgraph cluster_Entities { " << std::endl;
......@@ -224,7 +224,7 @@ writeGraph(const std::string &aFileName)
iter!=entityMap.end (); ++iter)
{
Entity* ent = iter->second;
GraphFile << ent->getName ()
GraphFile << "\"" << ent->getName () << "\""
<<" [ label = \"" << ent->getName () << "\" ," << std::endl
<<" fontcolor = black, color = black, fillcolor=cyan, style=filled, shape=box ]" << std::endl;
ent->writeGraph(GraphFile);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment