/**
* @see org.apache.airavata.xbaya.component.ws.WSComponent#createNode(org.apache.airavata.xbaya.graph.Graph)
*/
@Override
public WorkflowNode createNode(Graph graph) {
WorkflowNode node = new WorkflowNode(graph);
// Copy some infomation from the component
node.setName(getName());
node.setComponent(this);
// node.setWSDLQName(this.wsdlQName);
// Creates a unique ID for the node. This has to be after setName().
node.createID();
// Creat ports
createPorts(node);
return node;