output.setPosition(new Point(700, 100));
// Connect ports
graph.addEdge(amount.getOutputPort(0), approver.getInputPort(0));
graph.addEdge(amount.getOutputPort(0), ifNode.getInputPort(0));
graph.addEdge(ifNode.getControlOutPorts().get(0), approver
.getControlInPort());
graph.addEdge(ifNode.getControlOutPorts().get(1), constYes
.getControlInPort());
graph.addEdge(approver.getOutputPort(0), endif.getInputPort(0));
graph.addEdge(constYes.getOutputPort(0), endif.getInputPort(1));