AnsweredAssumed Answered

ProcessDiagramGenerator API not available in 5.16.3

Question asked by sonam on Oct 27, 2014
Latest reply on Jan 7, 2016 by jbarrez
I am not able to locate the ProcessDiagramGenerator API in activiti-engine 5.16.3.  I have been trying to compile and run the book-rest-api from the tutorial using 5.16.3 activiti-engine.  The following is the code snipped:

if (pde != null && pde.isGraphicalNotationDefined()) {
      InputStream resource = ProcessDiagramGenerator.generateDiagram(pde, "png", ActivitiUtil.getRuntimeService().getActiveActivityIds(processInstanceId));

      InputRepresentation output = new InputRepresentation(resource);
      return output;