}
// load package definition
XPDLHandler xpdlHandler = jaweManager.getXPDLHandler();
xpdlHandler.setValidation(false);
jaweController.openPackageFromStream(xpdl.getBytes("UTF-8"));
org.enhydra.shark.xpdl.elements.Package pkg = xpdlHandler.getPackageById(packageId);
org.enhydra.shark.xpdl.elements.WorkflowProcess wp = pkg.getWorkflowProcess(processDefId);
GraphController gc = (GraphController) jaweManager.getComponentManager().getComponent("GraphComponent");
gc.selectGraphForElement(wp);
Graph graph = gc.getGraph(wp);