Skip to content

Commit

Permalink
Changed vertex labeller so as to show no label when none is set
Browse files Browse the repository at this point in the history
  • Loading branch information
rppc committed Mar 31, 2017
1 parent da1f343 commit 0258153
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified GraphViewerController.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion JUNG/src/GraphViewerController.java
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ public String transform(Number v) {
String str = vertexLabels.get(v);
if (str != null)
return str;
else return v.toString();
else return "";
}
};
vv.getRenderContext().setVertexLabelTransformer(vertexesLabeler);
Expand Down

0 comments on commit 0258153

Please sign in to comment.