repeat1.add(new Repeater(null, "X"));
LiteralValuesNode repeat2 = new LiteralValuesNode();
repeat2.addAnnotation(AnnotationKeys.LOCATION, mLocation);
repeat2.add(new Repeater(null, "Y"));
LiteralValuesNode control = new LiteralValuesNode();
control.addAnnotation(AnnotationKeys.LOCATION, mLocation);
control.add("1");
control.add("2");
ProcessingElementNode node1 = new ProcessingElementNode("1");
node1.addAnnotation(AnnotationKeys.LOCATION, mLocation);
repeat1.connectOutput("output", 0, node1.getInput("input1", 0));