Permalink
Browse files

Final commit

  • Loading branch information...
1 parent 1aafd68 commit bb1c6f06ab851c629e5a98fda354b9e89fa05a33 @imbstack committed Dec 1, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/Main.java
View
@@ -108,8 +108,8 @@ public Font transform(EdmondsVertex edge) {
};
Transformer<EdmondsEdge, Stroke> edgeStrokeTransformer = new Transformer<EdmondsEdge, Stroke>() {
public Stroke transform(EdmondsEdge edge) {
- float wid = 6*(float)edge.capacity/EdmondsEdge.maxCapacity;
- return new BasicStroke(wid, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER, 10.0f);
+ float wid = 4*(float)edge.capacity/EdmondsEdge.maxCapacity;
+ return new BasicStroke(wid, BasicStroke.CAP_ROUND, BasicStroke.JOIN_BEVEL);
}
};
vv.getRenderContext().setVertexFillPaintTransformer(vertexPaint);

0 comments on commit bb1c6f0

Please sign in to comment.