response.setContentType(RestConstants.PNG_IMAGE_CONTENT_TYPE);
try {
String showKill = request.getParameter(RestConstants.JOB_SHOW_KILL_PARAM);
boolean sK = showKill != null && (showKill.equalsIgnoreCase("yes") || showKill.equals("1") || showKill.equalsIgnoreCase("true"));
new GraphGenerator(
getWorkflowJobDefinition(request, response),
(JsonWorkflowJob)getWorkflowJob(request, response),
sK).write(response.getOutputStream());
}
catch (Exception e) {