this.outputNodes = GraphUtil.getOutputNodes(this.graph);
}
public void create() throws GraphException {
XmlDocument doc = builder.newDocument();
XmlElement scufl = doc.addDocumentElement(scuflNS, "scufl");
scufl.addAttribute("version", "0.2");
scufl.addAttribute("log", "0");
XmlElement description = scufl.addElement(scuflNS, "workflowdescription");
description.addAttribute("lsid", "urn:lsid:net.sf.taverna:wfDefinition:" + UUID.randomUUID());
description.addAttribute("author", "");