mirror of https://github.com/dspinellis/UMLGraph
workaround empty label problem
This commit is contained in:
parent
8d77597da5
commit
52d95c3cc3
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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";}
|
||||
|
||||
Loading…
Reference in New Issue