workflowRectangle.setArcHeight(25);
workflowRectangle.setArcWidth(25);
final Text classText = new Text(workflowClass);
classText.setFontSmoothingType(FontSmoothingType.LCD);
classText.xProperty().bind(workflowRectangle.xProperty().add(workflowRectangle.getWidth()/2).subtract(classText.getBoundsInLocal().getWidth()/2));
classText.yProperty().bind(workflowRectangle.yProperty().subtract(16));
final Text instanceIdText = new Text(id);
instanceIdText.setFont(Font.font(Font.getDefault().getName(),10));
instanceIdText.setFontSmoothingType(FontSmoothingType.LCD);
instanceIdText.xProperty().bind(workflowRectangle.xProperty().add(workflowRectangle.getWidth()/2).subtract(classText.getBoundsInLocal().getWidth()/2));
instanceIdText.yProperty().bind(workflowRectangle.yProperty().subtract(3));