Skip to content

Commit 0258153

Browse files
committed
Changed vertex labeller so as to show no label when none is set
1 parent da1f343 commit 0258153

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

GraphViewerController.jar

-15 Bytes
Binary file not shown.

JUNG/src/GraphViewerController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ public String transform(Number v) {
210210
String str = vertexLabels.get(v);
211211
if (str != null)
212212
return str;
213-
else return v.toString();
213+
else return "";
214214
}
215215
};
216216
vv.getRenderContext().setVertexLabelTransformer(vertexesLabeler);

0 commit comments

Comments
 (0)