}
//draw an indicator for all link nodes
for(SNode node : context.getDocument().getCurrentPage().getNodes()) {
if(!node.isLink()) continue;
Bounds bds = node.getTransformedBounds();
g.translate(bds.getX2(), bds.getY2());
g.setPaint(FlatColor.WHITE);
g.fillRoundRect(0,0,30,15,10,10);
g.setPaint(FlatColor.BLACK);
g.drawRoundRect(0,0,30,15,10,10);
g.drawText("Go!",Font.DEFAULT,3,12);
g.translate(-bds.getX2(), -bds.getY2());
}
//draw the move position indicator
if(!showIndicator) return;
Bounds sb = context.getSketchCanvas().selection.calculateBounds();
String l1 = "";
String l2 = "";
if(selectedHandle != null) {
String[] lines = selectedHandle.customStatusLines();
if(lines == null || lines.length < 1) {
l1 = "w: "+moveInfoFormatter.format(sb.getWidth());
l2 = "h: "+moveInfoFormatter.format(sb.getHeight());
} else {
if(lines.length >= 1) l1 = lines[0];
if(lines.length >= 2) l2 = lines[1];
}
} else {
l1 = "x: "+moveInfoFormatter.format(sb.getX());
l2 = "y: "+moveInfoFormatter.format(sb.getY());
}
sb = context.getSketchCanvas().transformToDrawing(sb);
g.setPaint(FlatColor.hsb(0,0,0.6,ido));
g.fillRoundRect(sb.getX()+sb.getWidth()+20,sb.getY()+sb.getHeight()/2-20,50,40,10,10);
g.setPaint(new FlatColor(1.0,1.0,1.0,ido));
g.drawText(l1,moveInfoFont,sb.getX()+sb.getWidth()+20+10,sb.getY()+sb.getHeight()/2-20+15);
g.drawText(l2,moveInfoFont,sb.getX()+sb.getWidth()+20+10,sb.getY()+sb.getHeight()/2-20+15+15);
g.setPaint(FlatColor.hsb(0,0,0.4,ido));
g.drawRoundRect(sb.getX()+sb.getWidth()+20,sb.getY()+sb.getHeight()/2-20,50,40,10,10);
}