// Input parameter node
InputNode namInput = (InputNode) workflow.addNode(inputComponent);
namInput.setPosition(new Point(179, 438));
// Output parameter
OutputNode outParamNode = (OutputNode) workflow
.addNode(outputComponent);
outParamNode.setPosition(new Point(863, 169));
// Connect ports
graph.addEdge(confInput.getOutputPort(0), wrfPreNode.getInputPort(0));
graph.addEdge(confInput.getOutputPort(0), arp2wrfNode.getInputPort(0));
graph.addEdge(confInput.getOutputPort(0), adasIntNode.getInputPort(1));
graph.addEdge(confInput.getOutputPort(0), lateralIntNode
.getInputPort(1));
graph.addEdge(confInput.getOutputPort(0), terrainPreNode
.getInputPort(0));
graph.addEdge(terrainPreNode.getOutputPort(0), adasIntNode
.getInputPort(2));
graph.addEdge(terrainPreNode.getOutputPort(0), lateralIntNode
.getInputPort(0));
graph.addEdge(adasInput.getOutputPort(0), adasIntNode.getInputPort(0));
graph
.addEdge(namInput.getOutputPort(0), lateralIntNode
.getInputPort(2));
graph.addEdge(wrfPreNode.getOutputPort(0), arp2wrfNode.getInputPort(1));
graph
.addEdge(adasIntNode.getOutputPort(0), arp2wrfNode
.getInputPort(2));
graph.addEdge(lateralIntNode.getOutputPort(0), arp2wrfNode
.getInputPort(3));
graph.addEdge(arp2wrfNode.getOutputPort(0), wrfNode.getInputPort(0));
graph.addEdge(wrfNode.getOutputPort(0), outParamNode.getInputPort(0));
// Add metadata
String inputMetadata = "<appinfo "
+ "xmlns:lsm=\"http://www.extreme.indiana.edu/namespaces/2006/lead-service-metadata\">"
+ "<lsm:constraints>"