equal
deleted
inserted
replaced
193 Enumeration e1=vertices.elements(); |
193 Enumeration e1=vertices.elements(); |
194 int h,w; |
194 int h,w; |
195 h=w=Integer.MIN_VALUE; |
195 h=w=Integer.MIN_VALUE; |
196 |
196 |
197 while (e1.hasMoreElements()) { |
197 while (e1.hasMoreElements()) { |
198 Dimension dim=((Vertex)(e1.nextElement())).getLabelSize(g); |
198 Box dim=((Vertex)(e1.nextElement())).getLabelSize(g); |
199 h=Math.max(h,dim.height); |
199 h=Math.max(h,dim.height); |
200 w=Math.max(w,dim.width); |
200 w=Math.max(w,dim.width); |
201 } |
201 } |
202 box_height=h+4; |
202 box_height=h+4; |
203 box_height2=box_height/2; |
203 box_height2=box_height/2; |