workflow.setDescription("Complex math workflow");
Graph graph = workflow.getGraph();
// Adder nodes
Component adderComp = this.componentRegistry.getComponents(
MATH_ADDER_WSDL).get(0);
Node adderNode1 = workflow.addNode(adderComp);
adderNode1.setPosition(new Point(170, 50));
Node adderNode2 = workflow.addNode(adderComp);
adderNode2.setPosition(new Point(170, 210));
// Multiplier node
Component multiComp = this.componentRegistry.getComponents(
MATH_MULTIPLIER_WSDL).get(0);
Node multiNode = workflow.addNode(multiComp);
multiNode.setPosition(new Point(320, 130));