Escaping quotes in dot files.

git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@4344 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
kshakir 2010-09-24 17:13:12 +00:00
parent 745b8cc6d3
commit 0cc48d46ec
1 changed files with 1 additions and 1 deletions

View File

@ -461,7 +461,7 @@ class QGraph extends Logging {
// todo -- we need a nice way to visualize the key pieces of information about commands. Perhaps a
// todo -- visualizeString() command, or something that shows inputs / outputs
val ve = new org.jgrapht.ext.EdgeNameProvider[QFunction] {
def getEdgeName( function: QFunction ) = function.dotString
def getEdgeName( function: QFunction ) = if (function.dotString == null) "" else function.dotString.replace("\"", "\\\"")
}
//val iterator = new TopologicalOrderIterator(qGraph.jobGraph)