make output of dot util compatible with dot viewer eclipse plugin. prevent parser error.

This commit is contained in:
Juergen Graf 2015-05-12 20:38:27 +02:00 committed by Martin Hecker
parent 9ca450de48
commit 22b7db62f7
1 changed files with 3 additions and 1 deletions

View File

@ -262,7 +262,9 @@ public class DotUtil {
*/
private static <T> String decorateNode(T n, NodeDecorator<T> d) throws WalaException {
StringBuffer result = new StringBuffer();
result.append(" [ ]\n");
result.append(" [ label=\"");
result.append(getLabel(n, d));
result.append("\"]\n");
return result.toString();
}