\r
if (showDistances && (node.dist > 0))\r
{\r
- nodeLabel = new Format("%5.2f").form(node.dist);\r
+ nodeLabel = new Format("%5.2f").form(node.dist).trim();\r
}\r
\r
if (showBootstrap)\r
\r
if (!nodeLabel.equals(""))\r
{\r
- g.drawString(nodeLabel, xstart, ypos - 10);\r
+ g.drawString(nodeLabel, xstart+2, ypos - 2);\r
}\r
\r
String name = (markPlaceholders && node.isPlaceholder())\r
\r
if (showDistances && (node.dist > 0))\r
{\r
- g.drawString(new Format("%5.2f").form(node.dist), xstart,\r
- ypos - 5);\r
+ g.drawString(new Format("%5.2f").form(node.dist).trim(), xstart+2,\r
+ ypos - 2);\r
}\r
}\r
}\r