OutputNode outParamNode = (OutputNode) workflow.addNode(this.outputComponent);
outParamNode.setPosition(new Point(370, 240));
// Connect ports
graph.addEdge(paramNode1.getOutputPort(0), adderNode1.getInputPort(0));
graph.addEdge(paramNode2.getOutputPort(0), adderNode1.getInputPort(1));
graph.addEdge(paramNode3.getOutputPort(0), adderNode2.getInputPort(0));
graph.addEdge(paramNode4.getOutputPort(0), adderNode2.getInputPort(1));
graph.addEdge(adderNode1.getOutputPort(0), multiNode.getInputPort(0));
graph.addEdge(adderNode2.getOutputPort(0), multiNode.getInputPort(1));
graph.addEdge(multiNode.getOutputPort(0), outParamNode.getInputPort(0));