diff options
author | Hugo Parente Lima <hugo.lima@openbossa.org> | 2010-04-16 19:38:05 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-09 19:10:00 -0300 |
commit | 8d37c58c29ca9cea1617e878e1a8a10a7f8ae9c4 (patch) | |
tree | 1d255f9c087091708740b02bd464507ff61376eb /graph.cpp | |
parent | 5b91402b2496f603b80c0a84cdfe3e9b18a19c87 (diff) |
Write graph nodes using quotes on Graph::dump.
Diffstat (limited to 'graph.cpp')
-rw-r--r-- | graph.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -124,7 +124,7 @@ void Graph::dumpDot(const QHash< int, QString >& nodeNames, const QString& fileN for (int i = 0; i < m_d->edges.size(); ++i) { GraphPrivate::EdgeIterator it = m_d->edges[i].begin(); for (;it != m_d->edges[i].end(); ++it) - s << nodeNames[i] << " -> " << nodeNames[*it] << '\n'; + s << '"' << nodeNames[i] << "\" -> \"" << nodeNames[*it] << "\"\n"; } s << "}\n"; } |