cgen.defineInput("in");
cgen.defineOutput("out");
cgen.defineOperator("op", "in", "out");
cgen.connect("in", "op.in");
cgen.connect("op.out", "out");
FlowGraph component = cgen.toGraph();
gen = new FlowGraphGenerator();
gen.defineInput("in");
gen.defineOutput("out");
FlowElement fc = gen.defineFlowPart("c", component);