gen.connect("in1", "op1.in1").connect("op1.out1", "out1");
gen.connect("in2", "op1.in2").connect("op1.out2", "out2");
FlowBlock bin = FlowBlock.fromPorts(
0,
gen.toGraph(),
new ArrayList<FlowElementInput>(gen.inputs()),
Arrays.asList(gen.output("in1"), gen.output("in2")),
gen.getAsSet("in1", "in2"));
FlowBlock b1 = FlowBlock.fromPorts(
0,
gen.toGraph(),