Skip to content

Commit

Permalink
Merge pull request #1 from STEMS-group/labels-correction
Browse files Browse the repository at this point in the history
Changed vertex labeller so as to show no label when none is set
  • Loading branch information
RJFRossetti committed Apr 3, 2017
2 parents da1f343 + 0258153 commit 049c21b
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 049c21b

Please sign in to comment.