workaround empty label problem

This commit is contained in:
Daniel TISCHER 2014-02-10 13:43:08 +01:00
parent 8d77597da5
commit 52d95c3cc3
2 changed files with 3 additions and 3 deletions

View File

@ -661,7 +661,7 @@ class ClassGraph {
w.println("\t// " + fromName + " " + rt.toString() + " " + toName);
w.println("\t" + relationNode(from, fromName) + " -> " + relationNode(to, toName) + " [" +
"taillabel=\"" + tailLabel + "\", " +
"label=\"" + guillemize(opt, label) + "\", " +
((label == null || label.isEmpty()) ? "label=\" \"" : "label=\"" + guillemize(opt, label) + "\", ") +
"headlabel=\"" + headLabel + "\", " +
"fontname=\"" + opt.edgeFontName + "\", " +
"fontcolor=\"" + opt.edgeFontColor + "\", " +
@ -845,7 +845,7 @@ class ClassGraph {
RelationPattern rp = getClassInfo(c.toString()).getRelation(fri.cd.toString());
if (rp == null) {
String destAdornment = fri.multiple ? "*" : "";
relation(opt, opt.inferRelationshipType, c, fri.cd, "", " ", destAdornment);
relation(opt, opt.inferRelationshipType, c, fri.cd, "", "", destAdornment);
}
}
}

View File

@ -1,4 +1,4 @@
/* Automatically generated file */
package org.umlgraph.doclet;
class Version { public static String VERSION = "R5_6_6-1-g9240c4";}
class Version { public static String VERSION = "R5_6_6-8-g8d7759";}